Write a program that takes both the initial size of a green crud population (in pounds) and some number of days as input, and computers from that information the size of the population (in pounds) after the specified number of days. If the input for crud population or days is a negative number, print an error message and exit.

Solved
Show answers

Ask an AI advisor a question