Question: Task: I. Write a simple program based on the use of FOR LOOPS and Arrays to: 1- Ask the user to enter four numbers (use

 Task: I. Write a simple program based on the use of

Task: I. Write a simple program based on the use of FOR LOOPS and Arrays to: 1- Ask the user to enter four numbers (use a for loop for entering the numbers and save them in a one dimensional array 1D) Your code should output the square of each number (use another for loop for printing the output) 2- square of it in the second column. Example If the user enters 2, 3, 4, and 5, the output should be as the following: The square of your inputs: 2*2= 4 3*3 9 4*4-16 5*5- 25

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!