Jump to content
✨ STAY UP TO DATE WITH THE WORLD TOUR ✨

Your Websites


StupidIntel

Recommended Posts

mine's in my signature.

 

I have to fix up some pages though.

 

Sailormaxx, I just noticed your av, and i know this isn't the thread for it, but since every thread on here goes offtopic sooner or later, i figured i might as well indulge...lol. so, yeah, i like your av, and actually i have been wanting to go see that movie (lost in translation), it sure has gotten rave reviews from many critics, and also even heard an interview on it on the NPR (Terry Gross' show, which, turns out, comes from PA)

Link to comment
Share on other sites

int main()

{

char ans = 'n';

do{

clrscr();

 

//Declarations

double growth = 1000;

int hours = 0;

 

//Calculations

do{

growth = growth * 2;

hours = hours + 12;

}while(growth<1000000);

 

//Output Code

cout<<endl<<endl<<"An organism can double in population every 12 hours."<<endl<<endl;

cout<<"If the orgamism has a population of 1000 it will take about "<<hours<<" hours ";

cout<<"for it to reach a population of one million.";

 

//Run Again Code

cout<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl;

cout<<endl<<"Do you want to run this program again? (y/n) ";

cin>>ans;

 

}while(ans != 'n');

 

getch();

return 0;

}

 

 

 

 

 

 

Off topic?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...