In this tutorial, we will model a Raptor flowchart to multiply two numbers. The flowchart should prompt the user for the two numbers. The result of the multiplication should be stored in a variable called an answer. The answer should be displayed as the result of the multiplication of the two numbers to the user.
Sanitize the user input accordingly in the flowchart. Invalid inputs can be strings, blank input, etc. We cannot multiply two strings of data mathematically. It’s a good idea to inform the user about the invalid inputs and errors in the flowchart.
Operand 1 entered := 7
Operand 2 entered := 9
Product of the two numbers (7*9) :=63
Invalid input sample output
Operand 1 entered := strin1
Operand 2 entered := string2
Invalid Input. Please check the input
—-Run complete. 8 symbols evaluated.—-
Raptor Tutorials on this website can be found at:
RAPTOR official website: https://raptor.martincarlisle.com/