Question: CSIS 135 Programming in C/C++ instructure-uploads.s3.amazonaws.com ne caaipie ouipur bciow assuilies uhc user cmereu a iaine U Julie when the program started. In the Winnings
CSIS 135 Programming in C/C++ instructure-uploads.s3.amazonaws.com ne caaipie ouipur bciow assuilies uhc user cmereu a iaine U "Julie" when the program started. In the "Winnings" section of the report Display: JACKPOT-1 MILLION if all 7 numbers were correct Display: GREAT! -$100,000 if 6 numbers were correct Display: LUCKY YOU!-$5,000 if 5 numbers were correct Display: NOT BAD - S100 if 4 numbers were correct Display: FREE TICKET if 3 numbers were correct Display: SORRY NOTHING if 2 or less numbers were correct JULIE'S LOTTO RESULTS WINNING TICKET NUMBERS: 35 03 01 15 10 25 22 JULIE' S TICKET 15 02 06 21 20 19 : 33 RESULTS Number Matches: 1 Winnings :SORRY NOTHING -If the selection is q: Quit the program If the selection is not q and not l: Display an invalid selection message Allow the user to play lotto as many times as they would like. Note: use the setfill('0') function to zero fill to the left of the digits. For example, if num is 5 cout
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
