Answer:
if (age < 18) // check condition of variable age is less than 18
minors=minors+`1;
else if (age >=18 && age <=64) //check condition of variable age between 18 to 64
adults=adults+1;
else // check condition of variable age more than 65
seniors=seniors+1;
Explanation:
Here we checks the condition if the variable age is less than 18 then it increment the value of variable 'minors' by 1 i.e, minors=minors+`1;
.
if variable age is 18 through 64 then it increment the value of variable adults by 1 i.e,'adults'=adults+1; otherwise increment the value of variable 'seniors ' by 1 i.e seniors=seniors+1;
Are you signed in? if not then try to reset your device and see if you can get in there I hope this helped you if not plz let meh know :P
Answer:
미안해요. 나는 우리가 단지 부동일 중 하나를 모르지만 그것을 해결하는 방법을 모른다!.
Answer:
#include <iostream>
using namespace std;
int main()
{
cout<< rand() % 50 + 100 <<endl;
cout<<rand() % 50 + 100 <<endl;
return 0;
}
Explanation:
The rand() gives you a random number. If you use rand() % 50, it will give you a random number between 0 and 49. Since we are required to have the numbers between 100 and 149, add 100 to this expression. This way, you will have a random number between 100 and 149. Type this expression two times and use "endl" to end with a new line.
so teens can drive themselves places plus it makes sure you know what you are doing