35

 Aim: To write a program in C which murak the user to enter a non-negative number The program munt calculate and display the square root of the number entered WITHOUT making use of any library function such as aget().pow() ett

Code:

#include <iostream> using namespace std:

int main()

double nua, double mod 1: double e G) cout << "Enter a non-negative misber."

for (int de deso, d++) (at (e canum) le-mod, sad/-10)

Cod:)

cout << "Square root of num << is return 0)

Comments

Popular Posts