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]
4 years ago
9

How to combine two integers​

Mathematics
1 answer:
Genrish500 [490]4 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 graph shows the number of jam jars filled by two different machines over several minutes. A graph measuring number of jars a
podryga [215]
You answer is A y=1.5x
Hope this helps :)
5 0
4 years ago
Read 2 more answers
What is the Value of m<br> 3m + 5 = 14
kolezko [41]

Answer:

Step-by-step explanation:

3m=14-5

3m=9

m=3

7 0
4 years ago
Read 2 more answers
Will award if correct. Plz help
Alisiya [41]

Answer:

f(x) = 4 · 4^x , f(x) = 4 · 2^x+2 , f(x) = 1/4 · 2^x+6

Step-by-step explanation:

Substitude x with a number.

Please give me Brainliest :)

7 0
3 years ago
At Buffalo Mild Wings, the price of chicken wings depends on the number of wings that you order.
timofeeve [1]

Answer: no

Step-by-step explanation:

4 0
3 years ago
What is 7/10+20/100?
Firdavs [7]
9/10. make the bottom numbers the same to add fractions. you can do that by multiplying 7/10 by 10/10.

70/100 + 20/100 = 90/100

90/100 = 9/10

you can also reduce 20/100 to 2/10.

7/10 + 2/10 = 9/10
8 0
3 years ago
Read 2 more answers
Other questions:
  • Please help my solve this problem. :(
    11·1 answer
  • how do you use equations to solve probelems about the area of rectangles parallelegrams and trapozoids and triangles
    8·1 answer
  • ⚡️⚡️⚡️⚡️⚡️⚡️⚡️⚡️⚡️⚡️⚡️⚡️⚡️⚡️
    8·1 answer
  • I need help with #6 and #7​
    7·2 answers
  • Can someone show me how do I do this please?
    7·1 answer
  • 5x+2x=2x+5x is an example of which algebraic property?
    7·1 answer
  • Victor read 2 1/3 books over 14 days last summer. Assume it took him the same amount of time to read each book. How many days di
    5·1 answer
  • 5. Troy wants to find the distance between his house on one side of the park and his school on the other
    11·1 answer
  • The total cost of renting a movie for different numbers of days is shown in the table.
    8·1 answer
  • 13-2x=4x+7 I’m being asked how to solve this
    7·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!