What is the purpose of the following algorithm, written in pseudocode?
Num = 0
Repeat the following steps 10 times
Input var1
If var1 > num
Num = var1
Print num
A) To find the highest among 10 numbers
B) To print out the 10 numbers
C) To find the smallest among 10 numbers
D) To search for a particular number among 10 numbers
Correct Answer:
Verified
Q41: What is the purpose of the following
Q42: Imagine you are planning to purchase a
Q43: Consider a situation where you are buying
Q44: Imagine you are planning to buy a
Q45: Consider a situation where you are buying
Q47: While developing a program, the programmer adds
Q48: UML Supermarket has different ways of awarding
Q49: Which one of the following errors represents
Q50: When a compiler finds a syntax error
Q51: Evaluate the pseudocode below to calculate the
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents