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
In a quadrilateral each pair of opposite sides are equal. Is this quadrilateral a parallelogram? If yes, then prove you answer w
aalyn [17]
Yes, a parallelogram<span> is a quadrilateral with 2 pairs of opposite, which both have equal sides. </span>
4 0
4 years ago
The roots of Billy's plant grew to 3 inches beneath the Earth’s surface. Graph all the possible depths the roots can continue to
vaieri [72.5K]
The plants are starting at -3, I would say that the plants can grow further down past negative three.

I would draw an open circle at -3, then have the arrow pointing to the left. This shows that the roots can grow lower than -3.

4 0
3 years ago
3^5 * 9^5 = 3^n<br> Find n please
Vladimir [108]

Answer:

In this equation n = 15

Step-by-step explanation:

In order to find this, we first must make each term a base 3. Since 9 is 3 squared, we can change it easily to base 3.

3^5 * 9^5 = 3^n

3^5 * (3^2)^5 = 3^n

3^5 * 3^10 = 3^n

3^15 = 3^n

Now that we have both in simple term of 3 raised to a power, we can eliminate the 3's and see that 15 = n

4 0
3 years ago
Hi pls help thank you
miss Akunina [59]

Answer:

it would be c when fully simplified.

6 0
3 years ago
Read 2 more answers
Find the area of rectangle ABCD. A((3,3) B(0,0) C(2,-2) D(5,1)
Andru [333]

Answer:

use this formula and answer A=L*H

3 0
3 years ago
Read 2 more answers
Other questions:
  • Write 2 difference between 810,329 and 340,329
    13·1 answer
  • Which of these sums is greater than 1? please help 20 pts if u get it A. 12+23 B. 13+18 C. 14+25 D. 15+110
    13·1 answer
  • Use​ Green's Theorem to evaluate the line integral. Assume the curve is oriented counterclockwise. Contour integral Subscript Up
    6·1 answer
  • 1. Find the value of sin using the triangle shown.​
    13·2 answers
  • Solve for x.<br><br> 7/8x - 1/2 = 3/16x + 5
    15·1 answer
  • At Grocery Mart, tomatoes are $2.75 per pound, or you can buy a 5
    11·1 answer
  • Can someone help me plz thank you
    10·2 answers
  • Help please if u can I really need if so ty
    12·1 answer
  • For each​ equation, determine if y is a function of x. x+y=25
    15·1 answer
  • Find the coordinates of the circumcenter, orthocenter, and centroid of the triangle with vertices A(0,-2), B(4,-2), and C (0,6)
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!