aannjjaallii 0 Newbie Poster
Recommended Answers
Jump to PostWell why dont you use a library function from math.h.
#include <math.h> ... ... sqrt( 4 );
ssharish
Jump to PostIf this isn't a trivial question, you might want to look at using the Newton Raphson method for finding the square root.
Or other iterative methods.
Jump to PostPretty harsh reply by AncientDragon [...]
Harsh? That is not being harsh. That's practicing at being a jerk without style and heavy on the unoriginal side of the trend.
After all, it wasn't very long ago that they used to write “RTFM”. And no; the F doesn't stand for …
All 9 Replies
ssharish2005 62 Posting Whiz in Training
iamthwee
Tilir 35 Newbie Poster
ssharish2005 commented: Code is simple and clear! :) +2
iamthwee commented: There's help and then there is doing someone's homework. Know the difference. -3
aannjjaallii 0 Newbie Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
shankhs 0 Junior Poster in Training
VernonDozier 2,218 Posting Expert Featured Poster
Aia 1,977 Nearly a Posting Maven
iamthwee commented: Wow, sooo many big words, fun to read though. +15
iamthwee
Salem commented: Yep, the ultimate in spoon feeding. +20
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.