hat variable in the

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter7: User-defined Simple Data Types, Namespaces, And The String Type
Section: Chapter Questions
Problem 7PE
icon
Related questions
Question

Scope and Limitation: Your program must include ONLY and ALL of the following C LANGUAGE statements: Basic I/O, Ladderized if -else, switch statements, and any looping statements. 

Engineering Equations
Research two COMPLEX ENGINEERING EQUATIONS () related to Chemistry or Biology. Equations should have  four variables. (Do not create your own equation. Algebra, trigonometric, or analytic geometry are not considered complex engineering equations)

Program Requirements
1. Program shows a formula selection screen that allows the user to select a formula.
2. Formula selection screen allows the user to quit the program.
3. Program asks the user what variable in the equation to compute.
4. Variable selection screen allows the user to go back to the formula selection screen
5. Program asks for values for input variables and computes the selected variable.
6. Program goes back to the variable selection screen. Users can select another variable to compute or select to go back to the formula selection screen.
7. Program goes back to the formula selection screen.


Practice Walkthrough
1. Select a formula from the formula selection screen.
2. Select a variable from the variable selection screen.
3. Compute for the variable. Provide at least two sets of test data per variable.
4. Enter an invalid choice at the variable selection screen.
5. Repeat step 2 until all variables are computed.
6. Repeat step 1 until all formulas are demonstrated.
7. Enter an invalid choice at the formula selection screen.
8. Quit the program.


Reminders:
Make sure that your equations are complex.
Do not include any other topics of C language not mentioned above.
Upload your *.c file and copy-paste your codes here.
You may use goto functions and math.h.
No flowchart.


Deductions:
-50 not complex engineering equation
-50 use of other c language topics (pointers, struct, arrays, strings, malloc, etc)
-20 missing *.c file
-20 missing codes, *.c file only
-50 not following the practice walkthrough
-50 not following the program requirements
-20 incomplete parameters
-100 syntax error/s
-50 logical errors

Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Concept of Flowchart
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++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr