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
(9y+6)+(y+3)<br> Add.<br> Please help
Levart [38]
(9y+y) + (6+3)
The answer is 10y+9

5 0
3 years ago
REPOST PLEASE I NEED HELP I could really use some help with this guys:).........................................................
IrinaK [193]

Answer:

Points

Step-by-step explanation:

3 0
3 years ago
Reggie lost 5 spaceships in level 3 of a video game. He lost 35 points for each spaceship. When he
r-ruslan [8.4K]

Answer:

275

Step-by-step explanation:

since each space ship is 35 point and he lost 5 space ships u go 35x5 which gives you 175.

so since thats his loss you go -175+ 450 which is what you earned that gives you: 275

hope that helps

8 0
3 years ago
Which value could be the length of the missing side of the triangle?
Nana76 [90]

Answer

12. Is your answer

6 0
3 years ago
Please help answered needed ASAP!
Free_Kalibri [48]

Answer:

Step-by-step explanation:

It 6/88/3/19

6 0
3 years ago
Read 2 more answers
Other questions:
  • An airplane flies 240 km in 15 minutes. What is it's average speed in kilometers per hour?
    11·2 answers
  • The diagonals of a rectangle are equal.
    12·2 answers
  • What is the point on the terminal side of -210​
    13·1 answer
  • How do i write this in standard form? (12-11x-5x^5)-(4x^4+8x-4x^5+2x^3-1)
    9·1 answer
  • In a class of 40 students, 15 offer physics, 20 offer history and 3 offer both physics and history. How many student offer neith
    5·2 answers
  • 1- AT OAKNOLL SCHOOL, 90 OUT OF 270 STUDENTS OWN COMPUTERS. WHAT PERCENT OF STUDENTS OF OAKNOLL SCHOOL DO NOT OWN COMPUTERS? ROU
    9·2 answers
  • You are buying fruit to make fruit baskets apples come in bags of 20. Ornages come in bags of 16. And bananas come in bags of 32
    13·1 answer
  • What is 2+2+2-2+4-8?
    14·2 answers
  • What is the value of x?
    12·1 answer
  • What is the distance between the points located at (5, 1) and (10, 11) ?
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!