1. You will be using Visual Studio to create the following programs. Make sure you see that these are separate programs. Don't write them using only one project. 2. Make sure that you follow the General Program Format Rules for each program. 3. The closer the form of your output matches that shown in the example, the better your grade will be. Ask for and get three doubles from the user; the numbers represent the values for a, b, and c that describe a quadratic equation in the form: ax² + bx + c = 0. Then solve the equation using the quadratic formula: x =btVB²-4ac 2a Notice that because of the ±, you get two solutions. Examples of output are on the next page. Example #1: a = 2.0 b = 5.0 c = 1.0 Solutions : -2.28078 and -0.21922 Here are the lines that actually print Example #2: a = 25.0 b = 0.0 C= -100.0 Solutions : -2.00000 and 2.00000 Example #3: a = -0.5 b = 3.7 c = 4.0 Solutions : -0.95725 and 8.35725

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
1. You will be using Visual Studio to create the following programs. Make sure you
see that these are separate programs. Don't write them using only one project.
2. Make sure that you follow the General Program Format Rules for each program.
3. The closer the form of your output matches that shown in the example, the better your grade will be.
Ask for and get three doubles from the user; the numbers represent the values for a, b, and c that
describe a quadratic equation in the form: ax² + bx + c = 0. Then solve the equation using the quadratic
formula: x =btVB²-4ac
2a
Notice that because of the ±, you get two solutions. Examples of output are on the next page.
Example #1:
a = 2.0
b = 5.0
c = 1.0
Solutions : -2.28078 and -0.21922
Here are the lines that actually print
Example #2:
a = 25.0
b = 0.0
C= -100.0
Solutions : -2.00000 and 2.00000
Example #3:
a = -0.5
b = 3.7
c = 4.0
Solutions : -0.95725 and 8.35725
Transcribed Image Text:1. You will be using Visual Studio to create the following programs. Make sure you see that these are separate programs. Don't write them using only one project. 2. Make sure that you follow the General Program Format Rules for each program. 3. The closer the form of your output matches that shown in the example, the better your grade will be. Ask for and get three doubles from the user; the numbers represent the values for a, b, and c that describe a quadratic equation in the form: ax² + bx + c = 0. Then solve the equation using the quadratic formula: x =btVB²-4ac 2a Notice that because of the ±, you get two solutions. Examples of output are on the next page. Example #1: a = 2.0 b = 5.0 c = 1.0 Solutions : -2.28078 and -0.21922 Here are the lines that actually print Example #2: a = 25.0 b = 0.0 C= -100.0 Solutions : -2.00000 and 2.00000 Example #3: a = -0.5 b = 3.7 c = 4.0 Solutions : -0.95725 and 8.35725
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps

Blurred answer
Similar questions
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY