120 (C) Write a program that will calculate any missing value in the following equation: grade = rise / run. Vou may only use the basic arithmetic operators: + -/*. Your program will only have six methods: title, intro, askData, display, pauseProgram and goodbye. All input must be errortrapped! Each major screen should be indicated as a separate box with arrows to indicate program direction. Each errortrap will be shown separately in its own box with arrows indicating the placement of the trap. Errortraps must be linked to Variables may have more than one errortrap. The user may choose to exit in the intro. a specific variable. Write the OUTPUT SCREENS below and have this page initialed before continuing. askBatac) Enter the value you would ike to find (g-grade,r-rise Grade finding proģram This program awill colculate in the equation: grade = rise/run ony missing value r2-run). Press c to continue or Enter rise and run. Press d to exit Please enter another integer Variable. Please enter the letter c or )d) Goodbye c) Thank You for visiting. Please come again! display) Grade-rise/run, r grade 8/4 grade 2. Goodbye) Thank You for visiting. Please come againl

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter4: Selection Structures
Section4.5: A Case Study: Solving Quadratic Equations
Problem 4E
icon
Related questions
Question
Write a Java program that will calculate any missing value in the following equation: grade=rise/run.
120 (C)
Write a program that will calculate any missing value in the following equation: grade = rise / run.
Vou may only use the basic arithmetic operators: + -/*. Your program will only have six methods: title, intro, askData, display, pauseProgram and
goodbye. All input must be errortrapped! Each major screen should be indicated as a separate box with arrows to indicate program direction. Each
errortrap will be shown separately in its own box with arrows indicating the placement of the trap. Errortraps must be linked to a specific variable.
Variables may have more than one errortrap. The user may choose to exit in the intro.
Write the OUTPUT SCREENS below and have this page initialed before continuing.
Grade finding proģram
.askDatac)
Enter the value
This program will calculate
in the equation: grade = rise/run
you would
like to find (g- grade,r-rise
ony missing valve
r2- run).
Press c to continue
or
Enter rise and run
Press d to exit
Please enter another integer
Variable.
Please enter the letter c. or d)
Goodbye c)
Thank You for visiting.
Please come again!
displaye)
Grade -rise/run;
r grade= 8/4
grade > 2,
Goodbyec)
Thank You for visiting.
Please come againl
Transcribed Image Text:120 (C) Write a program that will calculate any missing value in the following equation: grade = rise / run. Vou may only use the basic arithmetic operators: + -/*. Your program will only have six methods: title, intro, askData, display, pauseProgram and goodbye. All input must be errortrapped! Each major screen should be indicated as a separate box with arrows to indicate program direction. Each errortrap will be shown separately in its own box with arrows indicating the placement of the trap. Errortraps must be linked to a specific variable. Variables may have more than one errortrap. The user may choose to exit in the intro. Write the OUTPUT SCREENS below and have this page initialed before continuing. Grade finding proģram .askDatac) Enter the value This program will calculate in the equation: grade = rise/run you would like to find (g- grade,r-rise ony missing valve r2- run). Press c to continue or Enter rise and run Press d to exit Please enter another integer Variable. Please enter the letter c. or d) Goodbye c) Thank You for visiting. Please come again! displaye) Grade -rise/run; r grade= 8/4 grade > 2, Goodbyec) Thank You for visiting. Please come againl
Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Returning value from Function
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning