GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  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, 2008 03:15:34 #1
 tarun00000   Member Since: October 2008    Total Comments: 1 

sum of two numbers
 

#include<stdio.h>
#include<conio.h>
main()
{
int a,b,c;
clrscr();
printf("enter two no.:");
scanf("%d%d",&a,&b);
c=a+b;
pritf("sum of no.is=%d",c);
getch();
}

     

 

Back To Question