so im trying to do this mathematical equation and it just wont seem to work
can anyone please tell me what im doing wrong? thank you :) oh and im using iostream, iomanip, and cmath
float long d, deg, Q1, Q2, Q3, Q4;
float dc;
float const g = 9.8;
cout << "Please input the angle in degrees" << endl;
cin >> deg;
cout << "Please input the Diameter in meters" << endl;
cin >> d;
well its saying that in Q2 at (g) the expression must have a integral or enum type
and at Q3 sqrt(sin it says double__decl sin(double_X) the expression must have a integral or enum type
i am fairly new to coding so could you tell me exactly what to do? :)