Asked by Sonya
Draw a flowchart or write pseudocode to represent the logic of a program that allows the user to enter a value. The program multiplies the value by 10 and outputs the result.
Answers
Answered by
Steve
read input value
value = value * 10
output value
A real program would prompt the user, and maybe put the result into a separate variable, so both the input and output values could be displayed.
However, you didn't ask for any of that.
value = value * 10
output value
A real program would prompt the user, and maybe put the result into a separate variable, so both the input and output values could be displayed.
However, you didn't ask for any of that.