Question
Construct a pseudocode to compute, to display the sum of ten (10) integer numbers and determine the biggest and smallest number.
Answers
sum=0
read num
max = min = num
for i = 2..10
read num
if num>max then max=num
if num<min then min = num
sum += num
next i
print sum
read num
max = min = num
for i = 2..10
read num
if num>max then max=num
if num<min then min = num
sum += num
next i
print sum
Write a pseudocode to determine the type of triangle, depending upon the value of the sides.
Related Questions
FORTRAN ROGRAM THAT CAN ACCEPT TWO INTEGER NUMBERS AND COMPUTE AND DISPLAY ALL THEIR COMMON PRIME FA...
Pkease who can help? I need to know a pseudocode to display the first n positive integers given n fr...
Obtain two numbers from the keyboard and determine and display which (if either) is the larger of th...