technicalsymposium

Google Search-Search in Our Website

Search Freshers Jobs/Conferences/Placement Materials/ All Engineering Branches Lecture Notes and
GATE/All Universities Question Papers in Our Website. Enter your Query & Search Below

Programming Codes with Answers

C Program For FINDING POWER VALUE OF GIVEN NUMBER.

#include<stdio.h>
#include<conio.h>
void main()
{
int n,i,r,c=1;
clrscr();
printf("Enter the n value:");
scanf("%d",&n);
printf("Enter the r value:");
scanf("%d",&r);
for(i=1;i<=r;i++)
{
c=c*n;
}
printf("the power value is=%d",c);
getch();
}

Hosting by Yahoo!

About-Us    Contact-Us    Site-map

©copyright 2009 All rights are reserved to technicalsymposium.com