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
The median price, P, of a home rose from 80$ thousand in 1980 to 240$ thousand in 2000. Let t be the number of years since 1980.
Elena L [17]

Answer:

1

Step-by-step explanation:

2

3

4

5

6

7

8 0
2 years ago
Roy has bought two square photo frames. The ratio of their sides is 4:1. If PQ = 12 inches, what is AB? A. 12 in. B. 9 in. C. 6
aleksklad [387]

Answer:

D. 3

Step-by-step explanation:

If the ratio of their sides is 4:1, and if PQ=12 inches, then Ab=12/4=3 inches.

6 0
3 years ago
A)180.48 m2<br><br> B)180.48 m<br><br> C)80.48 m2<br><br> D)80.48 m
MissTica

Answer:

80.48m2

Step-by-step explanation:

I think this is right but it may be wrong.

4 0
2 years ago
Can u pls help me with this question ​
Shalnov [3]

Answer:

A, C, D

Step-by-step explanation:

7 0
2 years ago
Read 2 more answers
Multiplication of fractions<br>3/4×7/15​
Pachacha [2.7K]

Answer:

\frac{7}{20} or <em>0.35</em>

Step-by-step explanation:

\frac{3}{4} * \frac{7}{20} \\3*7=21\\4*15=60\\\frac{21}{60} \\

Now simplify.

\frac{21}{60} = \frac{7}{20}

3 0
2 years ago
Other questions:
  • 140 degress increased by 65%
    9·1 answer
  • ASAP HELP PLEASE:
    12·1 answer
  • How much of the electromagnet is made up of visible light please help
    8·1 answer
  • What is the Properties of Equality
    7·1 answer
  • How do I figure out 2 3/4 × 2 3/4
    6·1 answer
  • Woody is five years older than Buzz. If x represents Buzz's age, what is the y-intercept of the line that represents this additi
    9·1 answer
  • What percent of 50 is 9?<br> O<br> A. 4.5%<br> O B. 5.6%<br> OC. 9%<br> O D. 18%<br> O E. 45%
    8·2 answers
  • What formula could I use to solve this ?<br> Using f(x) =-3+7 <br> What is x when f(x) = -20
    5·1 answer
  • Guys i need these answers badly so i would appreciate if someone responded <br> Thanks !
    7·1 answer
  • What is 0.14x57.05 and what are the steps
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!