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
There are two paths that one can use to go from Sarah’s house to James’ house. One way is to take C street, and the other way re
Anastaziya [24]

Answer:

2.5 < 3.5, 3.5 – 2.5 = 1.

C street is shorter by 1 mile

3 0
2 years ago
38600 mg = n dag what does n equal???
Vlad [161]
Answer:
n = 3.68

Explanation:
We know that:
1 mg is equivalent to 0.0001 dag
To convert 38600 mg to dag, we will simply use cross multiplication as follows:
1 mg ..............> 0.0001 dag
38600 mg ......> n

n = (38600*0.0001) / 1
n = 3.68

Hope this helps :)
3 0
3 years ago
SUPER EASY just need a percentage. WILL GIVE BRAINLY
schepotkina [342]
EL ESPANOL DU NARDE ES SI YAS MIASDAS
7 0
3 years ago
A store that buys and sells used video games buys a game at a cost of ​$29 and sells it at a selling price of ​$33. Find the mar
Rudiy27

$4. Not sure about the percent though, sorry!

Hope it helped :)

3 0
3 years ago
Find the area of the shaded region
Dimas [21]

The area of the shaded region is 15.453 square units.

Step-by-step explanation:

Step 1:

The given shape consists of a rectangle and two circles.

The length of the rectangle is given as 12 cm. Both the diameters of the circles equal 12 cm. So each circle has a diameter of 6 cm and thus a radius of 3 cm.

The diameter of the circle is equal to the width of the rectangle.

So the rectangle has a length of 12 cm and a width of 6 cm. The circles have radii of 3 cm each.

Step 2:

The area of the rectangle = (l)(w) = (12)(6) = 72 square cm.

The area of each circle = \pi r^{2}  = (3.1415)(3^{2} ) = 28.2735 square cm.

The area of both circles =2(28.2735) = 56.547 square cm.

The area of the shaded region is the difference between the area of the rectangle and the area of both circles.

The area of the shaded region = 72 - 56.547 = 15.453 square units.

The area of the shaded region is 15.453 square units.

6 0
2 years ago
Other questions:
  • An auditor performs attribute sampling to test for proper cancellation of payment vouchers. in a sample population of 100, two v
    13·1 answer
  • kelly has $25 in her purse, and dante has d dollars in his wallet. which algebraic expression represents the total amount that k
    9·2 answers
  • A deep sea diver descended from a rock that is 45 feet below sea level to a coral reef that is 88 feet below sea level.How far d
    5·2 answers
  • What is the area of the parallelogram?
    10·1 answer
  • He first day, they drove 130 miles in 2 hours.
    9·2 answers
  • If the volume of a cube is 27m3 find one of it's sides​
    14·1 answer
  • Pls send answer pls, I rlly need help thank you so much
    8·1 answer
  • The local newspaper has letters to the editor from 60 people. If this number represents 5% of all of
    12·2 answers
  • Select the correct answer.
    15·2 answers
  • Find the slope and y-intercept of the line whose equation is given.
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!