Print the value of Pi
Hello every one!
I've got a project to print the value of pi ie.; 22/7 using simple c.
I tried hard but unable to get it.
Please help me out!
must #include <cmath> in it
One of the two values should be a double (add .0 on one of the numbers).
And as jt1991 said, theres already a PI constant defined in cmath
Topic archived. No new replies allowed.