Asked by G
Step 1: Design a flowchart or write pseudocode for a program that allows a user to enter 12 numbers, then displays all of the numbers (in the order they were entered) as well as the largest number and the smallest number.
Step 2: Implement and test your design using VisualLogic.
Step 2: Implement and test your design using VisualLogic.
Answers
Answered by
Damon
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
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
There are no AI answers yet. The ability to request AI answers is coming soon!
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.