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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started