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.
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.
Always 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.
I guess he is not supposed to use pow, sqrt , rather use iteration and some approximation numeric algorithms to do so.
i need a help so badly.
Then you should have read The Rules and the post Read This Before Posting