Answered step by step
Verified Expert Solution
Question
1 Approved Answer
code must be written in c++ language without any errors [5 MARKS] Create a program to display the following multiplication table: NOTE: Your program must
code must be written in c++ language without any errors
[5 MARKS] Create a program to display the following multiplication table: NOTE: Your program must display the headings X-VALUE, Y-VALUE, and PRODUCT of X-VALUE and Y-VALUE in three separate column NOTE: Your program must use one of the repetition structures (i.e., for loop, while loop or do ... while loop) NOTE: The X-VALUE must start at 35 and each subsequent number must increment by 3 until it reaches 95 NOTE: There should be no entry in the multiplication table if the X-VALUE is 59 X-VALUE 35 38 Y-VALUE 19.2 19.2 PRODUCT of X-VALUE and Y-VALUE 35 x 19.2 = xxxXX.XX 38 x 19.2 = xxxXX.XX (USING FIELD WIDTH OF 7 WITH 2 DECIMAL PLACES) (USING FIELD WIDTH OF 7 WITH 2 DECIMAL PLACES) (Skip the iteration for X-VALUE = 59) 95 19.2 95 * 19.2 = XXXXX.XX (USING FIELD WIDTH OF 7 WITH 2 DECIMAL PLACES) The Name, Student ID and Section number that appears in the output of the program should be your own, not the ones used in the sample run. 4 5 (Global Scope) iscellaneous Files 27 28 29 Name: Smith, Peter 30 31 X-VALUE Y-VALUE 32 35 19.2 33 38 19.2 Student ID: 300999999 Section: 001 PRODUCT of X-VALUE and Y-VALUE 35 x 19.2 = XXXXX.XX 38 x 19.2 = XXXXX.XX 34 (59 will not appear in this table) 95 19.2 95 x 19.2 = XXXXX.XX Press any key to continue. . 35 36 37 38 39 40 41 42 43 44 45 NOTE: THERE SHOULD BE A TOTAL OF 1 SCREEN SHOT FOR THIS TASK. */ //COPY AND PASTE YOUR WORKING CODE DOWNWARDS FROM HERE
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