CODING:
#include<stdio.h>
#include<conio.h>
#include<math.h>
void main()
{
float num,ans;
clrscr();
printf("Enter any number: ");
scanf("%f",&num);
ans=sqrt(num);
printf("\n\nSquare root of %f is %f",num,ans);
getch();
}
|
CODING |
|
OUTPUT |
For any query or suggestion please comment below...
No comments:
Post a Comment