Write a c program to calculate the power - CodeTextPro | Web Tutorial | Technology

CodeTextPro.com Provides - Web design, Technology gyan, Digital marketing, Online earnings, Seo, Adsense, Technology news, Motivation and inspiration, Latest Technology Affairs, Gadgets, Blogging

Saturday, January 5, 2019

Write a c program to calculate the power

Calculate the power of a number

#include<math.h>
#include<stdio.h>
#include<conio.h>
main()
{
int a,b,c;
printf("enter the value of a and b");
scanf("%d%d",&a,&b);
c=pow(a,b);
printf("%d",c);
getch();
}

No comments:

Post a Comment