What's New-Given Below
technicalsymposium
technicalsymposium
technicalsymposium

C/C++ Lab Program(s)/Materials

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();
}

More Lab Programs with Answers -Given Below-Click and Get Freely

Hosting by Yahoo!

About-Us    Contact-Us    Site-map

©copyright 2009 All rights are reserved to technicalsymposium.com