Hello, this program only runs to the point where I insert the value for "aoa". Why is it not running through my function and printing it out after? Thanks
Hint: You can edit your post, highlight your code and press the <> formatting button.
You can use the preview button at the bottom to see how it looks.
Some syntax errors:
Missing a semicolon here: C = 1.3*sin((2*pi*aoa)/95)
Should be: C = 1.3*sin((2*pi*aoa)/95);
Also, missing the << operator here: cout << "The coefficient of lift given an angle of:" << aoa << "is " C << endl;
Should be: cout << "The coefficient of lift given an angle of:" << aoa << "is " << C << endl;