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



Lab #4 Debug Debugging a Raptor Program Many geometry and trigonometry Edmulas 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 doesn't work. There are three errors in it. 1. 2. 3. Make a copy of this file on your own computer (alter clicking the link, click save. not open). Add your name to it in a comment. Using breakpoints and execution stepping identify the errors. Lesson 4 has a video which illustrates how to do this. 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, Submit your corrected Raptor program. This assignment has no C# part, 4. 5. 6. 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 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 28 31 34 37 40 43 46 49 52 55 58 61 64 67 70 73 0.4363 0.4887 0.5411 0.5934 0.6458 0.6981 0.7505 0.8029 0.8552 0.9076 0.9599 1.0123 1.0647 1.1170 1.1694 1.2217 1.2741 This program displays a table of conversions from degrees to radian Start "Enter the smallest an den degrees GET low Enter the largestangen degrees GET high Enter the stap in degrees GET step PUT Degrees Radius PUT " dege 1 Loop - 100% main PUT "Degrees Radians" PUT degree 1 Loop degree high No radian-degree * PI / 180 This is the correct formula It does not need to be changed PUT degrees + + radian degree degree + step End
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
