Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

this raptor program has 3 mistakes. debug mistakes instructions included Lab #4 Debug Debugging a Raptor Program Many geometry and trigonometry fdmulas use radians, but

this raptor program has 3 mistakes. debug mistakes instructions included
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
Lab #4 Debug Debugging a Raptor Program Many geometry and trigonometry fdmulas 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. 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 radias Start "Enter the smallest and in degrees GET low Enter the largestangen degrees GET high Enter the stap in de gras GET step PUT Degrees Radian PUT 5 depres1 101 Loop degree-high II 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Build It For The Real World A Database Workbook

Authors: Wilson, Susan, Hoferek, Mary J.

1st Edition

0073197599, 9780073197593

More Books

Students also viewed these Databases questions