Use the software Raptor to create algorithms and see them run. Raptor is NOT a programming language, but a software application that allows you to create the logic of programs using flowchart symbols. Raptor allows you to run the program after you have written it to see if your logic is correct and the program, if written in a programming language, would give the correct output.
Assignment:
1. Create a Raptor program that accepts two numbers from the user and displays one of the following messages: "First is larger", "Second is larger", or "The numbers are equal". Use nested if statements to determine the output.
2. Create a second Raptor program that accepts three numbers from the user and displays a message if the sum of any two numbers equals the third. The message MUST indicate that the sum of the numbers equals the third. The user needs feedback from the program.
Documentation is very important for this course and in the field. For all Raptor programs, an expectation is that comments will be incorporated into all assignments. For this assignment, only the header comments will be required. Both header comments and step comments are encouraged as they will help with logic. Header comments should include the following:
- Name of the Raptor program
- Author of the Raptor program
- Version of the Raptor program and the date of its last revision
- Summary/goal of the Raptor program
- Variables used with a short description of the variable, as well as the format of the data (e.g. datatype)