Can you find the reason that the following pseudocode does not perform as indicated in the comments? / / Find the error in the following pseudocode.
Module main ()
Declare Real value, result
/ / Get a value from the user.
Display "Enter a value."
Input value
/ / Get 10 percent of the value.
Call tenPercent (value)
/ / Display 10 percent of the value.
Display "10 percent of ", value, " is ", result
End Module
/ / The tenPercent function returns 10 percent
/ / of the argument passed to the function.
Function Real tenPercent (Real num)
Return num * 0.1
End Function
+3
Answers (1)
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Can you find the reason that the following pseudocode does not perform as indicated in the comments? / / Find the error in the following ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Home » Computers & Technology » Can you find the reason that the following pseudocode does not perform as indicated in the comments? / / Find the error in the following pseudocode. Module main () Declare Real value, result / / Get a value from the user. Display "Enter a value.