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
The measure of angle
igor_vitrenko [27]
Answer:
120 degrees

Explanation:
Opposite angles (angles that are on opposite sides of an intersection) are equal to each other. Because angle 2 and 120 degrees are opposite angles, angle 2 is equal to 120 degrees.

I hope this helped if it did, a brainliest would be much appreciated:)
8 0
3 years ago
Please can you answer this paper any question it's not a problem ​
Aloiza [94]

Answer:

Axis 6

Step-by-step explanation:

4.1

4.1.1 - 60°

4.1.2 - 140°

4 0
3 years ago
which pair of these points defines a line with a slope 2/3? A. (2, 6) and (3, 0) B. (6, 2) and 3, 0) C. (6, 2) and (0, 0) D. (2,
ipn [44]

Answer:

B. (6,2) and (3,0)

Step-by-step explanation:

To find the slope the equation is \frac{y_{2-y_{1} } }{x_{2} -x_{1} } so for (6,2) and (3,0) the equation would look like this \frac{0-2}{3-6} which simplies down to \frac{-2}{-3} and a negative divided by a negative is a positive so you're slope is \frac{2}{3} and it matches the question.

3 0
3 years ago
Read 2 more answers
There are 150 children in middle school.30% of the students are 6th graders. How many 6th graders are at CPCS?
IceJOKER [234]

Answer:

45 children

Step-by-step explanation:

30% of 150=45

6 0
3 years ago
Read 2 more answers
Factor each expression 5x + 15
lana66690 [7]
Take out the gcf (5).

5(x+3)

The inner binomial cannot be factored.

Final answer: 5(x+3)
6 0
3 years ago
Read 2 more answers
Other questions:
  • 16/25 divided by 15/8​
    12·2 answers
  • Solve 1/5x+3=10. Show all work and check it
    10·2 answers
  • Can someone help me figure this out plz? Thank you!!!
    15·1 answer
  • A convex hexagon has interior angle measures of 150 degrees, 3x, 2x, 4x + 24, and 3x + 50.
    15·1 answer
  • The number sent this 4×7 = 4×3+4×4 is an example of what property
    8·2 answers
  • Now select points B and C, and move them around. What do you notice about as you move B and C? What do you notice about the rati
    7·2 answers
  • What is 25% of 80? *​
    13·1 answer
  • .5 times 6 pls answer this this is for a real test
    8·2 answers
  • F(x)=x^3+2x^2-6x+9
    10·1 answer
  • Three times the sum of a number and two is equal to -9.
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!