#include<iostream>
using namespace std;
int main()
{
cout << "Enter the number of years: ";
int n;
cin >> n;
cout << "The population in 5 years is " << int(n * 365 * 24 * 3600 / 45.0 + n * 365 * 24 * 3600 / 7 - n * 365 * 24 * 3600 / 13);
return 0;
}
Emmm
日常作业。