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 square of a number exceeds that number by 12. What are the two possible solutions?
Juliette [100K]

Answer:

Step-by-step explanation:

I bought 12 pounds of coffee. I used 1/4 of the coffee in a week. How many pounds did i used in a week??

3 0
3 years ago
Pleeeaaasssee answers 2 PPL for BRAINLIEST ANSWER and rate and 10 PTS!!!!
Serggg [28]
Well I think it is 1 .                              
8 0
3 years ago
Debbie is borrowing 3 books from her friend who has a collection of 45 books. Which of the following expressions represents the
Tju [1.3M]
As we observe clearly the problem given, it is clear that the order in which Debbie would choose the 3 books out of the total of 45 books is not important. This makes the problem an example of a Combination problem. The answer to this item is therefore letter B. C(45,3) read as <em>combination of 45 taken 3</em>. 
8 0
3 years ago
X^2+6x=-59 <br> How do I solve the square root for this question
NARA [144]

Step-by-step explanation:

{x}^{2}  + 6x =  - 59 \\  {x}^{2}  + 6x  + 59 = 0 \\ D =  {6}^{2}  - 4 \times 1 \times 59 = 36 - 236 =  - 200

So there's no answer, because D must be equal or more than 0.

4 0
3 years ago
Please help me, I really need help!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ICE Princess25 [194]
With what do u need help?
5 0
4 years ago
Read 2 more answers
Other questions:
  • Find an equation in slope-intercept form for the perpendicular bisector of the segment with endpoints H(–3, 2) and K(7, –5).
    14·1 answer
  • Mrs. Walter needs to cook her turkey in the oven for 5 hours and 15 minutes. If she puts the turkey in the oven at 8:15 AM, when
    8·1 answer
  • Martin wants to buy 4 plastic figures that cost $17.50 each. How much money does he need to save to purchase the figures?
    14·2 answers
  • Classify ABC by its angles when mA = 32°, mB = 95°, and mC = 53°.
    7·2 answers
  • In the diagram, TRV ≅ VRW. <br><br> What is the measure of SRT? mSRT = ------ degrees
    7·2 answers
  • School A and B are competing in an academic contest. at the beginning of the final round, school A has 174 points and school B h
    8·2 answers
  • Help me please!! asap!
    14·1 answer
  • What is the vertex of the graph of y = −1(x − 2)2 + 3? (1 point) (3, −2) (−2, 3) (3, 2) (2, 3)
    9·1 answer
  • Find the slope of the line passing through the points (3, 8) and (-2, 5).
    7·1 answer
  • What is the perimeter of the quadrilateral?
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!