HomeProgrammingC ProgrammingSquare root of a number in C programming

Square root of a number in C programming

 Question: 

Write a program that prompts the user to enter a values and display the square root of that’s number like output sample.

 Output Sample: 

InputOutput
3
9
49
145
Square root is: 3.00
Square root is: 7.00
Square root is: 12.04

 Source Code: 

 List of C Exercises: 

RELATED ARTICLES

LATEST ARTICLES