Write a program that prints point number through the keyboard and perform the square roots and display the result with 4 digits of decision ti the right of the decimal point
i need a help so badly.
kalou
0
Newbie Poster
Recommended Answers
Jump to PostAlways start with what you know. So I'd start with a simple empty program.
Then I'd look up pow() and sqrt().
Finally I'd look up information on output flags and manipulators, particularly those having to do with precision.
All 4 Replies
Lerner
582
Nearly a Posting Maven
ithelp
757
Posting Virtuoso
Banned
WaltP
2,905
Posting Sage w/ dash of thyme
Team Colleague
William Hemsworth
1,339
Posting Virtuoso
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.