The "pow10" function is used for calcution 10 to the power of x , where x is an integer.
double pow10(int x);
The "pow10" function accepts 1 parameters
#include <stdio.h> #include <math.h> #include<conio.h> int main() { int x; double ans; clrscr(); printf("\nEnter the value of x : "); scanf("%d",&x); ans = pow10(x); printf("Ten to power %d is %lf", x, ans); getch(); return 0; }