| |
GeekInterview.com > Placement Papers > Aztec Systems > C
| Print | |
Question: Two numbers are entered through keyboard, write a program to find the value of one number raised to the power another.
|
| October 10, 2009 01:38:18 |
#2 |
| terna_engg |
Member Since: October 2009 Total Comments: 2 |
RE: Two numbers are entered through keyboard, write a program to find the value of one number raised to the power another. |
#include<stdio.h> #include<conio.h> #include<math.h> void main() { int a,b; printf("enter the 2 nos:"); scanf("%d",&a,&b); pow(a,b); getch(); ) pow(a,b0 { return(a^b); } |
| |
Back To Question | |