Answer:
Following are given instructions to design the required program:
- Get the Jackpot amount from user.
- Get the payment choice from user.
- If user enters, the amount to be cash:
=> calculate 65% of amount received instantly.
=> Calculate 30% tax amount.
- If user enters, installments:
=> Calculate 20 installments first.
=> Calculate 30% tax amount.
Source Code:
The source code of the program is displayed below in the image:
I hope it will help you!