Question: / / your solution goes here / / declare the array with 4 as size integer array ( 4 ) userNums integer i / /

// your solution goes here
// declare the array with 4 as size
integer array(4) userNums
integer i
// loop 4 times to read the 4 values and assign to array
for i =0; i <4; i = i +1
userNums[i]= Get next input
// loop 4 times and display element to output
for i =0; i <4; i = i +1
Put userNums[i] to output
Put "
" to output

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!