Write BASIC program to compute the square root of numbers from 10-20.
Answers
Answered by
0
Answer:
#include <stdio.h>
#include <math.h>
int main()
{
int i,n;
printf("Enter the value of N: ");
scanf("%d",&n);
printf("No Square Cube Square Root\n",n);
for(i=1;i<=n;i++)
{
printf("%d \t %ld \t %ld \t %.2f\n",i,(i*i),(i*i*i),sqrt((double)i));
}
return 0;
}
Answered by
2
Hope it's helps you
Similar questions
Social Sciences,
5 months ago
Sociology,
5 months ago
Math,
10 months ago
Biology,
1 year ago
Hindi,
1 year ago