Question: Write a c++ program that will find the square root of a positive integer number using the technique described on the following website. http://www.math.com/school/subject1/lessons/S1U1L9DP.html [kslott@empress
Write a c++ program that will find the square root of a positive integer number using the technique described on the following website. http://www.math.com/school/subject1/lessons/S1U1L9DP.html
[kslott@empress cs111_lec_spr18]$ ./a.out Enter a positive integer number that you want to find the square root for: 10 The square root of 10 is 3.16228 The square of the square root is 10
[kslott@empress cs111_lec_spr18]$ ./a.out Enter a positive integer number that you want to find the square root for: 25. 5 is the square root of 25
[kslott@empress cs111_lec_spr18]$ ./a.out Enter a positive integer number that you want to find the square root for: 777 Start at 28 The square root of 777 is 27.8747 The square of the square root is 777
[kslott@empress cs111_lec_spr18]$ ./a.out Enter a positive integer number that you want to find the square root for: 1 1 is the square root of 1
[kslott@empress cs111_lec_spr18]$ ./a.out Enter a positive integer number that you want to find the square root for: 9000000. 3000 is the square root of 9000000
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
