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
I'm in need of help. The file should be attached to this. Thanks for your help!
Amanda [17]
company a: 2mins

company b: 7mins

:)
6 0
3 years ago
Which is equivalent to 4(x - 1)? <br>x- 4 <br>4x-1 <br>4x - 3 <br>4x - 4​
ser-zykov [4K]

Answer:

4x-4

Step-by-step explanation:

Hope this helps!!!!!✨✨✨

8 0
2 years ago
10 - 2.5x &gt; 35<br>I need help​
kvasek [131]

Answer:

x<-10

Step-by-step explanation:

10-2.5x>35

2.5x>10-35

2.5x>-25

x>-25/2.5

x>-10

x<-10

8 0
3 years ago
Read 2 more answers
Mr. Allen has 2 dogs, Spike and Fido. He takes both of them outside at 6:00 a.m. He takes Spike outside every 3 hours. He takes
san4es73 [151]

Answer:

3 pm

Step-by-step explanation:

Because 3x5 = 15 and 5x3=15 so it would be at 3 pm

8 0
3 years ago
Read 2 more answers
Please helpp ASAP<br><br> 100 points extra and brainleist
jeyben [28]

Step-by-step explanation:

C and D are the correct objectives

6 0
3 years ago
Other questions:
  • Find the slope of a line parallel to this equation 7x=-3y+15?
    6·2 answers
  • Factor the expression 16a^2 -81
    8·1 answer
  • How to put 412.638 in expanded form using decimals
    8·2 answers
  • The equation y = ax describes the graph of a line. If the value of a is positive, the line:
    11·2 answers
  • Which situation could NOT represent a proportional relationship? A) The cost of purchasing candy bars at a price of $1.25 per ca
    10·2 answers
  • The sum of three consecutive integers is greater than 66. What is the smallest possible product of the largest and smallest of t
    12·1 answer
  • Hey guys <br><br>what is 10+12-34+68-4778855+5676+77-6865666+3456-7658×45×23+35566÷79997 = ?​
    8·2 answers
  • Need help!!<br> will give brainlist
    6·1 answer
  • Each student wrote a two-step equation. Peter wrote the equation 6x − 3 = 12, and Andres wrote the equation 24x − 12 = 48. The t
    11·1 answer
  • Write 12/root2 + root18 in the form broot2 where b is an interger
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!