Question: Mint yr:2013 Create a pseudocode for a program The following is an outline of what your program must do: Get the mint year of a

Mint yr:2013

Create a pseudocode for a program

The following is an outline of what your program must do:

Get the mint year of a Lincoln cent from the user. Make sure the program tells the user what it wants.

If the year is 0, this means the user does not want to continue. In this case, tell the user goodbye and stop.

If the year is less then 1909 or greater than 2017, tell the user to try again. Keep asking until you get a valid year or 0.

For each year from the coin's mint through 2017, tell the user the following: the year, the age of the coin that year, and the sum of the digits of that year. Make sure you make this information clearly understandable for the user.

Ask the user for a number between 2 and 28. If the user does not answer in this range, keep asking. The user can opt to quit here by entering 0.

Display the number of years since the coin's mint that have a sum of digits equal to the number.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!