#include #include #include int main(){ float r1,r2, m, e; printf("Enter the value of m and e: (both positive float, m > 10, e is small <0.1 ) \n"); scanf("%f %f",&m,&e); // Put code for Input m, e r1=m/2.0;r2=r1; do { r1=r2; r2=(r1+m/r1)/2.0; }while(abs(r1-r2) > e); printf("Result of sqrt of %f with acc %f = %f\n", m, e, r2); return 0; }