how i open and use glut project in code blocks
abhi sharma
Posts
-
glut project -
reading cell value from excel through C++;) :^)
-
exe fine in codeblockswho to create exe file in code blocks?
-
calculator// My first calculator//Abhi's calculator// #include using namespace std; float division (float a, float b) { float a1; a1=a/b; return (a1); } float multiplication (float c, float d) { int a2; a2=c*d; return (a2); } float addition(float e, float f) { int a3; a3=e+f; return(a3); } float subtraction(float g, float h) { int a4; a4=g-h; return(a4); } int main() { char user; float ab; float da; float ans; cout<"<"<"<"<"<>user; if (user == 'D' || user == 'd') { cout<"<"<>ab; cout<<"Enter 2nd number ->"<>da; ans = division (ab,da); cout<<"Answer is -> "<"<"<>ab; cout<<"Enter 2nd number ->"<>da; ans = multiplication (ab,da); cout<<"Answer is -> "<"<"<>ab; cout<<"Enter 2nd number ->"<>da; ans = addition (ab,da); cout<<"Answer is -> "<"<"<>ab; cout<<"Enter 2nd number ->"<>da; ans = subtraction (ab,da); cout<<"Answer is -> "< press Y or y for yes