Hello,
For my assignment I have to create a program that calculates the quadratic formula. I am at most basic beginner and am having troble, I was told to break up the formula into smaller equations. I have looked at other forums but they use functions that i believe is passed our chapters for class.
code:
#include <iostream>
#include <cmath>
using namespace std;
int main()
{
/*
Quadratic equation: -b+- sqrt(b*b-4*a*c) / 2a
break down into steps
1. -b/a
2.b*b-4ac
3.?b*b-4a
4.?b*B-4ac / 2a
*/