Revise Programming Exercise 3.15 to add an additional $2,000 award if two digits from the user input

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 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:

image

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: