একটা উদাহরণ দিন।
2648 views

3 Answers

#include

#include

int main()

{

    int a,b;

    printf("enter value=");

    scanf("%d",&a);

    b=sqrt(a);

    printf("root of %d =%d",a,b);

}

2648 views

#include<stdio.h>
#include<conio.h>
#include<math.h>
void main()
{ int num,ans;
clrscr();
printf("Enter any number: "); scanf("%d",&num);
ans=pow(num,0.5);
printf("\n Square root of %d is: %d",num,ans); getch(); }

2648 views
#include #include int main() {     float a,b;     printf("enter value=");     scanf("%f",&a);     b=sqrt(a);     printf("root of %f =%f",a,b); }
2648 views

Related Questions