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
1. What is the volume of the prism that can be constructed from this net?
Irina-Kira [14]
1. V = lwh
    V = (8)(4)(5)
    V = (32)(5)
    V = 160 units³

2. V = lwh + lwh
    V = (4)(2)(1) + (3)(1)(1)
    V = (8)(1) + (3)(1)
    V = 8 + 3
    V = 11 units³

3. V = leh + s³
    V = (9)(3)(4) + (3)³
    V = (27)(4) + 27
    V = 108 + 27
    V = 135 units³

4. V = lwh
    V = (3)(7)(2)
    V = (21)(2)
    V = 42 units³
3 0
3 years ago
What shape is this I need help
professor190 [17]

Answer:

Pyramid/Triangle Prism

Step-by-step explanation:

pyr·a·mid

/ˈpirəˌmid/

Learn to pronounce

See definitions in:

All

Archaeology

Egyptian History

Geometry

Anatomy

Finance

noun

1.

a monumental structure with a square or triangular base and sloping sides that meet in a point at the top, especially one built of stone as a royal tomb in ancient Egypt.

2.

an object, shape, or arrangement in the form of a pyramid.

"a pyramid of logs"

verbNORTH AMERICAN

5 0
3 years ago
which of the following equations represents the line that that is graphed on the coordinate grid below ​
Stells [14]

Answer:

im in 8th grade and im getting your questions

Step-by-step explanation:

3 0
3 years ago
On monday caroline spent 2/3hour riding her bike and 1 3/4 doing homework how many more hours did caroline spend doing homework
Andrej [43]
2/3 hour is 40 minutes. 1 3/4 hour is 1 hour and 45 minutes. So she spent 1 hour and 5 minutes or 1 1/12 hour longer doing homework.
8 0
3 years ago
Read 2 more answers
Can anyone please solve this question
DENIUS [597]
The first number is 27 and the second number is 45 so the ratio would be 27;45
5 0
3 years ago
Other questions:
  • The amount of water in a bottle is approximately normally distributed with a mean of 2.55 liters with a standard deviation of 0.
    13·1 answer
  • If you work for 5 hours and you make $65, how many hours would you have to work to earn $143
    6·2 answers
  • The second photo is the answer choices. Please answer
    5·1 answer
  • What is the exponential regression equation for the data set x 3,4,7,11,12,16,19 y .3,.5,.9,1.2,1.7,1.7,1.9
    7·2 answers
  • If a test has 126 questions and you got 34% how many questions did you get right
    6·2 answers
  • The distance around the middle of a sphere (the circumference) equals 37.699 in. what is the surface area of the sphere?
    5·1 answer
  • Suppose that there are 630 seats in a row. If the person to be seated is needed to sit next to someone, then what is the fewest
    8·1 answer
  • If you spun the spinner 1 time, what is the probability<br> it would land on a gray piece?
    14·1 answer
  • What is the Slope-Intercept form of the equation of a line that passes through the point (5,-3) and is parallel to the line y =
    15·1 answer
  • I'll give brainliest and points to whomever answers these two questions, thank you so much in advance!
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!