Question: Lab #4 Debug Debugging a Raptor Program Many geometry and trigonometry formulas use radians, but in the real world, angles are often measured in degrees.

Lab #4 Debug Debugging a Raptor Program Many geometry and trigonometry formulas use radians, but in the real world, angles are often measured in degrees. The Raptor file called DegreesToRadians.rap is intended to display a table with angle measurements in degrees and the equivalent angle in radians. Unfortunately, it doesnt work. There are three errors in it. 1. Make a copy of this file on your own computer (after clicking the link, click save, not open). 2. Add your name to it in a comment. 3. Using breakpoints and execution stepping identify the errors. Lesson 4 has a video which illustrates how to do this. 4. Correct the errors so that the program executes and produces correct output as in the example below. Note that it must display the degrees from the smallest to the highest angles entered and increment the degrees by the step. 5. Submit your corrected Raptor program. 6. This assignment has no C++ part. Sample Output (Inputs in Bold) Enter the smallest angle in degrees 25 Enter the largest angle in degrees 75 Enter the step in degrees 3 Degrees Radians ============== 25 0.4363 28 0.4887 31 0.5411 34 0.5934 37 0.6458 40 0.6981 43 0.7505 46 0.8029 49 0.8552 52 0.9076 55 0.9599 58 1.0123 61 1.0647 64 1.1170 67 1.1694 70 1.2217 73 1.2741

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!