Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<iostream>
- using namespace std;
- int main()
- {
- double t = 157680000;
- double pop = 312032486;
- double newbirth = t / 7.0;
- double death = t / 13.0;
- double immig = t / 45.0;
- cout << "Population after 5 years is " << (int)(pop + newbirth - death + immig) << " Persons" << endl;
- system("pause");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment