Question: intro c++ class and only using (1)#include , #include , using namespace std;(2) double and int to write this code. We have not learned float

intro c++ class and only using (1)#include
1. Write a C++ program to solve a quadrtic equation ax. + br + c = 0 . Use the discriminant b2-4ac to determine the type of the solutions and an if-else statement to select the solutions for each type. -1 solution, 2 real solutions, 2 imaginary solutions. Your code must solve regardless of types of solutions. 2. Write a program that uses a while-loop to calculate the factorial of and integer. 2)in
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
