For example say i have a number represented as nUmBeR and i want pIe to be the the square root of that number .. How do i do that.
pIe=squareroot of (nUmBeR)....
how i right this equation in c
For example say i have a number represented as nUmBeR and i want pIe to be the the square root of that number .. How do i do that.
pIe=squareroot of (nUmBeR)....
how i right this equation in c
PS: Do you always use such names? (pIe, nUmBeR) That's ugly IMOCode:#include <math.h> Pie = sqrt(Number);
MagosX.com
Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime.
i ThInK iT's NoT uGlY aT aLlOriginally posted by Magos
PS: Do you always use such names? (pIe, nUmBeR) That's ugly IMO
Magos, speaking of ugly, where's your logo from?
your just a ***it who aint got no style so i wouldnt be talkin.......
i meant magos....my fault
>your just a ***it who aint got no style so i wouldnt be talkin.......
If you define style as a way to improve the readability and correctness of your code as I do, then you don't either. Aside from being both hard to read and type, such a mix of upper and lower case in your identifiers would be a real pain to maintain. You would have to look very closely to be sure that the variable you want to change is the one you are changing.
And please don't engage in personal attacks as a response to valid statements of opinion. We're all entitled to feel the way we do and if our ideas differ from yours, then so be it. This is a forum for the exchange of knowledge, not flames.
-Prelude
My best code is written with the delete key.