Answer:
#include<iostream>
using namespace std;
void main()
{
int townA_pop,townB_pop,count_years=1;
double rateA,rateB;
cout<<"please enter the population of town A"<<endl;
cin>>townA_pop;
cout<<"please enter the population of town B"<<endl;
cin>>townB_pop;
cout<<"please enter the grothw rate of town A"<<endl;
cin>>rateA;
cout<<"please enter the grothw rate of town B"<<endl;
cin>>rateB;
while(townA_pop < townB_pop)//IF town A pop is equal or greater than town B it will break
{
townA_pop = townA_pop +( townA_pop * (rateA /100) );
townB_pop = townB_pop +( townB_pop * (rateB /100) );
count_years++;
}
cout<<"after "<<count_years<<" of years the pop of town A will be graeter than or equal To the pop of town B"<<endl;
}
Explanation:
Answer:
Option 1. Brent is preparing for his class speech
Explanation:
I chose option one because he would need presentation software to show his class about his speech
Answer:
I think it might be some technical problems I advice u to show it to the technician and don't put plug the charger it might can cause a short circuit .I can be also overflow of electricity .If there is any stabilizer then it is it in any case you must show it to a technician.
The maximum decimal number that can be represented with 1 byte is 255 or 11111111
5
“var x = 5” declares a variable (var) called x and sets its value to 5.