Question: c++ CODING; NEED h files and CPP files If you know how to use a Project Development tool on your computer you may use it

c++ CODING; NEED h files and CPP files

c++ CODING; NEED h files and CPP files If you know how

If you know how to use a Project Development tool on your computer you may use it to develop solutions for this course. Please do not send me your compiled obj files or your runnables.exe files, Those files are generally not usable on my computer. So, please send your solution to me either as a separate.cpp file or as a collection of separate.cpp and.h files attached to your email. Also, please do not embed your source file or files within the text of your email message, and please do not send me screen shots unless I ask you for them. Content Instructions: In this assignment, please write a C++ program which gives only real-number solutions for quadratic equations. In general, if the equation is of the form ax2+bx+c=0 where the coefficient a is not o (Please note that the value of zero is not allowed for coefficient a.), there may be either two or one or no real solutions for x, depending on the value of the expression -b2-4ac which may be positive, zero or negative. If the expression evaluates to a positive value, the equation has two real solutions. If it evaluates to the equation has one real solution. If it evaluates to a negative value, the equation has no real solutions. This expression is under the square root sign in the quadratic formula from Algebra which has the following form x = (b +V b? - 4ac )/(2a) Please write a C++ program which solves this problem. Your program should use C++ class to perform the calculations which your program must do to produce the results which the user requires. Also, you are advised to use the sqrt and pow functions from the #include math.h library

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!