I'm trying to write a C++ program for shit and giggles.
It only calculates DivX calculations for my first formula.
If you know any C++ help out a newbie and tell me what is wrong. This is generic without a gui.
It does compile, but I'm not sure what is wrong.
The only thing I see that my text book says is wrong is the nested if statement, but in other languages I can write the if statement this way. I would like idea's on how to fix.
************************************************
see attached .txt file for code
************************************************
It only calculates DivX calculations for my first formula.
If you know any C++ help out a newbie and tell me what is wrong. This is generic without a gui.
It does compile, but I'm not sure what is wrong.
The only thing I see that my text book says is wrong is the nested if statement, but in other languages I can write the if statement this way. I would like idea's on how to fix.
************************************************
see attached .txt file for code
************************************************
Comment