#include <iostream>
using namespace std;

int main() {
	float startingNum;
	int numOfDays;
	float dailyRate;
	float dailyPct;
	float increaseAmt;
	
	cout << "Enter the starting number of poplation\n";
	cin >> startingNum;
	
	while (startingNum < 2)
	{
		cout << "Only enter number that is 2 or more.\n";
		cin >> startingNum;
	}
	
	cout << "Enter the daily rate for the multiplication. Write 10 if its 10%.\n";
	cin >> dailyRate;
	
	while (dailyRate < 0)
	{
		cout << "Only enter postive number\n";
		cin >> dailyRate;
	}
	
	cout << "Enter the number of days\n";
	cin >> numOfDays;
	
	while (numOfDays < 1)
	{
		cout << "Only enter number 1 or that is greater than 1.\n";
		cin >> numOfDays;
	}

	dailyPct = dailyRate/100;
	
	cout << "Size of population for day 1 :" << startingNum << endl;
	
	for (int i = 2 ; i <= numOfDays ; i++)
	{
		increaseAmt = dailyPct * startingNum;
		startingNum += increaseAmt;
		
		cout << "Size of population for day " << i << " :";
		cout << startingNum << endl;
		
	}
	
	return 0;
}