Question: Please and thank you (5 pts) Loops: Write a console program to prompt the user for the size, then compute and print a table from

 Please and thank you (5 pts) Loops: Write a console program

Please and thank you

(5 pts) Loops: Write a console program to prompt the user for the size, then compute and print a table from 1 to that size, of the first 5 powers of that number. Space all columns equally at l6 characters 1) Include a header row as shown below. For example, the program should print out (assuming the user enters 5): Please enter the size of the table:5 x 2 x 3 1 2 27 64 125 16 81 256 625 32 243 1028 3125 16 25 Points will be awarded according to the Grading Criteria below... prompts user for size, reads it in, and uses it correctly correct column headers column spacing correct powers calculations printed Comments at top explain program algorithm thoroughly. for your instructor's approval: Instructor signature

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!