Professional Documents
Culture Documents
Pseudocode
START
DECLARE num,Total AS INTEGER
Total 0
READ num
ENDWHILE
PRINT Total
STOP
Flowchart
Tracetable
2. Write a pseudocode algorithm to read 25 numbers and find their sum and average. Print
sum and average
3. Write a pseudocode algorithm to read a sequence of numbers terminated by 999. The
pseudocode should count and print the number of negative values and zero values. The
algorithm should also print sum of positive numbers.
4. Write a pseudocode algorithm to read 100 numbers and find their sum.
5. Write a pseudocode algorithm to read a sequence of numbers terminated by 0 and
print their sum