Question: Revise Programming Exercise 3.15 to add an additional $2,000 award if two digits from the user input are in the lottery number. Write a program
Revise Programming Exercise 3.15 to add an additional $2,000 award if two digits from the user input are in the lottery number.
Write a program that prompts the user to enter an integer for today?s day of the week (Sunday is 0, Monday is 1, ?, and Saturday is 6). Also prompt the user to enter the number of days after today for a future day and display the future day of the week. Here is a sample run:

today's day: 1 Jtrter Enter the number of days elapsed since today: 3 JEenter Today is Monday and the future day is Thursday Enter today's day: 0 -Erter Enter the number of days elapsed since today: 31 Today is Sunday and the future day is Wednesday Enter
Step by Step Solution
3.35 Rating (173 Votes )
There are 3 Steps involved in it
Program Plan Create method getRandomRadius to generate random radius between 2 an... View full answer
Get step-by-step solutions from verified subject matter experts
