Write a pseudocode to design a mofular logic for a program t

Write a pseudocode to design a mofular logic for 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 calls

please do it only by pseudocode declaring the variables..not other any programing

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 design a mofular logic for a program that allows a user to enter 12 numbers, then displays all of the numbers, the largest number and the

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site