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
Let x be the total of students in their Junior Year.
So, 84% of x =378
84% = 0.84
0.84x=378 (divided by 0.84)
x= 450 students.
The ones that chose not to take spanish will be:
450-378=72
72 students chose not to take spanish in their junior year.
Answer:
They will not have the same weight during the program
Step-by-step explanation:
Let x be the number of weeks.
<u>Sandra:</u>
Sandra is starting at 150 pounds and plans to lose 1 pound a week.
Weight after x weeks:

<u>Bernice:</u>
Bernice is starting at 135 pounds and plans to lose 1/2 a pound a week.
Weight after x weeks:

Weights must be the same, so

Since 30 weeks is more that 12 weeks (the duration of the program), they will not have the same weight during this program.