I have the Pseudocode for this program, but I need help converting it into actual code...
Function main
get first number
get second number
Call PrintProblem(firstNumber, secondNumber)
usersAnswer = Call GetAnswer
calculate realAnswer
Call EvaluateAnswer(usersAnswer, realAnswer)
end function
Function PrintProblem(firstNumber, secondNumber)
print firstNumber + secondNumber =
end function
Function GetAnswer
read integer answer from user
return user input
end function
Function EvaluateAnswer(userAnswer, realAnswer)
if userAnswer matches realAnswer then
print congratulations
else
print punishing message
print realAnser
endif
end function