write a pseudocode to enter a program that allows a user to

write a pseudocode to enter a program that allows a user to enter 12 numbers then displays all of the numbers, the largest number and the smallest.

Note : Your program logic must be using module cells.

Please only do it only pseudocode not other program.

Solution

n = 0

1 read x

n = n + 1

print x

If n > 1, go down to 2

small = x
large = x

2 If x</= small, then small = x
If x>/= large, then large = x

If n < 12 , go back up to 1

Print small
Print large
end

write a pseudocode to enter a program that allows a user to enter 12 numbers then displays all of the numbers, the largest number and the smallest. Note : Your

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site