subject

C++ PROGRAM 1) Add dialog to the program from homework 5 problem 2. The program should ask user for last and first name, and then greet the user. After that, program asks for the coefficients of a quadratic equation. After user inputs the values, program prints the inputted values on the screen and ask user to confirm that they are correct. If user replies that the values are incorrect, the program should allow user to change the values of the coefficients. Otherwise, program solves quadratic equation and displays the solutions. After this program should ask user whether she would like to solve another quadratic equation or would like to exit. The program should be tolerant to incorrect user inputs (it should not crash if user gives incorrect or unexpected input).
Tips: start the dialog development with drawing a dialog flowchart – this will be very helpful when you start programming it. You could use example codes that we discussed in the class.
2) Design and implement a test plan (explain how we can check whether the program gives correct results or not). Using designed test plan test your code, if the testing reveals bugs, please explain what incorrect behavior you found and how you fixed the code.

ansver
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 19:30, 710jonathan
The following is an excerpt from a slide presentation. today we will inverse operations solving equations using inverse operations solving inequalities using inverse operations from which part of the presentation does the slide most likely come from? a. introduction b. outline c. body d. conclusion
Answers: 1
image
Computers and Technology, 23.06.2019 20:00, noah12345678
What multimedia system creates an immersive, real-life experience that the user can interact with?
Answers: 1
image
Computers and Technology, 23.06.2019 21:20, FlowerChild1229
For positive constants a and b, the force between two atoms in a molecule is given f(r) = −a r2 + b r3 , where r > 0 is the distance between the atoms. note: a and b are upper case letters. (a) find f '(r) = (b) find the critical point for f(r). r = (c) find f ''(r) = (d) find the value of r so that f ''(r) = 0.
Answers: 1
image
Computers and Technology, 24.06.2019 12:00, exoticbunnylover123
Which spreadsheet operation does a look function perform?
Answers: 1
You know the right answer?
C++ PROGRAM 1) Add dialog to the program from homework 5 problem 2. The program should ask user for...

Questions in other subjects: