1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
AleksandrR [38]
3 years ago
9

How to combine two integers​

Mathematics
1 answer:
Genrish500 [490]3 years ago
5 0

The simplest approach to do this is:

Convert both numbers to string

Concatenate both strings into one, as this is comparatively easy

Convert this concatenated string back to integer

Step-by-step explanation:

Given two integers n1 and n2, the task is to concatenate these two integers into one integer.

Example:

Input: n1 = 12, n2 = 34

Output: 1234

Input: n1 = 1, n2 = 93

Output: 193

You might be interested in
Flip a coin 25 times. Make a tally chart for how many times it lands on heads or tails.
Colt1911 [192]
I flipped a coin and got heads 14 times and tails 11 times, if that helps
6 0
3 years ago
Read 2 more answers
Explain how the points A(9,-2/5) and B(9,2/5) are related.
Novay_Z [31]
These points are reflective off of the y-axis. (9,2/5) reflected over the y-axis is (9,-2/5)
5 0
3 years ago
It takes Mark 3 minutes to make 1 1/2 inches of a bracelet. If he works at the same speed, how many minutes will it take him to
RUDIKE [14]

Answer:

  24 minutes

Step-by-step explanation:

Working at the same speed, the ratio of time to length is the same:

  time/length = t/12 = 3/(1.5)

  t = 12(3/1.5) = 12(2) = 24

It will take Mark 24 minutes to make a 12-inch bracelet.

7 0
3 years ago
What is the length of the diameter of a circle inscribed in a right triangle with the length of hypotenuse c and the sum of the
jeyben [28]

Answer:

  diameter = m - c

Step-by-step explanation:

In ΔABC, let ∠C be the right angle. The length of the tangents from point C to the inscribed circle are "r", the radius. Then the lengths of tangents from point A are (b-r), and those from point B have length (a-r).

The sum of the lengths of the tangents from points A and B on side "c" is ...

  (b-r) +(a-r) = c

  (a+b) -2r = c

Now, the problem statement defines the sum of side lengths as ...

  a+b = m

and, of course, the diameter (d) is 2r, so we can rewrite the above equation as ...

  m -d = c

  m - c = d . . . . add d-c

The diameter of the inscribed circle is the difference between the sum of leg lengths and the hypotenuse.

5 0
3 years ago
What is the value of the expression, written in standard form? (6.6x10^-2)/(3.3x10^-4)
Eduardwww [97]
0.066/0.00033
The answer is 200.
4 0
3 years ago
Read 2 more answers
Other questions:
  • A line with a slope of 3/8 that passes through (0,-8)
    13·1 answer
  • if a die is rolled and a coin is flipped what is the the probability that the coin will be heads and the die will land on a 1,5
    12·1 answer
  • Use the Grouping Method or Box Method to factor completely 4x2 -10x - 6.<br> Show ALL work.
    15·1 answer
  • Why is the information in the diagram enough to determine that △LMN ~ △PON using a rotation about point N and a dilation? becaus
    8·2 answers
  • The Harrison's house sold for 95,000 that is a least 4 times the original purchase price . Find the originally paid for the hous
    11·2 answers
  • What is 0.63 • 10 to the first power in scientific notation
    13·1 answer
  • HELPP+ I NEED THIS DONE IN 3 MINUTES PLEASE HELP ME GOD BELIVES IN YOU
    7·2 answers
  • Does a perpendicular bisector have to be a line?
    13·1 answer
  • Find the slope of the line y=1/6x+3/2
    12·1 answer
  • What theorem is used to prove △ABC≅△DEC given that C is the midpoint of EB?
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!