/*Find the square root of an integer Program*/
#include"stdio.h"
#include"conio.h"
#include"math.h"
void main()
{
clrscr();
int n,SquareRoot;
printf("Enter the value of n");
scanf("%d",&n);
SquareRoot=sqrt(n);
printf("%d",SquareRoot);
getch();
}
#include"stdio.h"
#include"conio.h"
#include"math.h"
void main()
{
clrscr();
int n,SquareRoot;
printf("Enter the value of n");
scanf("%d",&n);
SquareRoot=sqrt(n);
printf("%d",SquareRoot);
getch();
}
No comments:
Post a Comment
Thank you for visit this site. You will get many programming news from here and learn programming very easily.