Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Program to find the value of e raised to power x using while
loop

Answer Posted / amit

#include<stdio.h>

void main()
{
int sum,n;
fact x,y;

printf("Enter the exponential(E) value");
scanf("%f ",y);

printf("Enter the value for x");
scanf("%f",x);

printf("No. of times x is to be multiplied");
scanf("%d",n);

while(e=n)
{
sum=x^n;
printf("The result of expression is =%d",sum);
printf("Check this out%d");
}
}

Is This Answer Correct ?    34 Yes 71 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what is a static function?

1089


What do you mean by recursion in c?

1091


What is the use of ?

1024


What is ## preprocessor operator in c?

1065


What are two dimensional arrays alternatively called as?

1164


hw can we delete an internal node of binary search tree the internal node has child node..plz write progarm

2008


What are the applications of c language?

1059


Are there constructors in c?

996


What is volatile variable how do you declare it?

1080


write a program which the o/p should b in such a way that s triangle if I/p is 3,a Square/rectangle if I/P=4,a pentagon if I/P=5 and so on...forget about the I/P which is less than 3

2058


Does c have class?

1084


If I have a char * variable pointing to the name of a function ..

1157


program to convert a integer to string in c language'

2437


What is %lu in c?

1239


When reallocating memory if any other pointers point into the same piece of memory do you have to readjust these other pointers or do they get readjusted automatically?

1247