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

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 20:40
Instruction active describing list features which statements accurately describe the features of word that are used to create lists? check all that apply. the tab key can be used to create a sublist. the enter key can be used to add an item to a list. the numbering feature allows for the use of letters in a list. the numbering feature can change the numbers to bullets in a list. the multilevel list feature provides options for different levels in a list.
Answers: 2
question
Computers and Technology, 24.06.2019 08:20
Evaluate the scenario below and indicate how to handle the matter appropriately. situation: michael received an e-mail from what he thought was his doctor’s office, requesting his social security number. since he had just been in to see his doctor last week, he replied to the e-mail with his social security number.
Answers: 2
question
Computers and Technology, 25.06.2019 04:30
Consider a list of full names formatted “firstname lastname”, like ["jules verne", "alexandre dumas", "maurice druon"]. write a list comprehension that produces a list with the full names in the format “lastname, firstname”. the resulting list should look like ['verne, jules', 'dumas, alexandre', 'druon, maurice']. the simplest solution may involve a nested comprehension: [ …. for … in [ … for … in … ]].
Answers: 3
question
Computers and Technology, 25.06.2019 05:00
The ratio of men to women in a certain factory is 3 to 4 .there are 210 men.how many workers are there?
Answers: 2
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
question
History, 09.10.2020 05:01
question
Advanced Placement (AP), 09.10.2020 05:01
question
English, 09.10.2020 05:01
Questions on the website: 13722359