Ask your own question, for FREE!
Computer Science 8 Online
OpenStudy (anonymous):

Supenova Write a C program which calculates and displays each year’s population of egrets based of some user input and the following formula: NetYr= Rate*CurrentYr*(1-CurrentYr/1000000)

OpenStudy (alienium):

what about in c++ #include <iostream> using namespace std; main() { int netYear=0; int rate=0; int currentYear=0; cout<<"Enter netYear: "<<endl; cin>>netYear; cout<<"Enter rate: "<<endl; cin>>rate; cout<<"Enter currentYear: "<<endl; cin>>currentYear; int netYear=rate*currentYear*(1-currentYear/1000000); cout<<endl<<endl<<"Result : NetYear = "<<netYear; system("pause"); return 0; }

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!