+ 1
How can I calculate the value of pie(22/7) using C++?
It can't be done simply as '/' operator returns only integer values.
2 Respuestas
0
cout << 22.0/7.0;
it gets the desired result
It can't be done simply as '/' operator returns only integer values.