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

Write a program to implement a round robin scheduler and calculate the average waiting time.Arrival time, burst time, time quantum, and no. of processes should be the inputs.

1108


Why we use int main and void main?

1081


How does placing some code lines between the comment symbol help in debugging the code?

998


What is the sizeof () operator?

1086


Is return a keyword in c?

1090


How can I find out if there are characters available for reading?

1111


a value that does not change during program execution a) variabe b) argument c) parameter d) none

1238


How can my program discover the complete pathname to the executable from which it was invoked?

1079


Write a C++ program to generate 10 integer numbers between - 1000 and 1000, then store the summation of the odd positive numbers in variable call it sum_pos, then find the maximum digit in this variable regardless of its digits length.

2003


How can I rethow can I return a sequence of random numbers which dont repeat at all?

1192


What is null pointer in c?

993


PROGRAM TO WRITE CONTENTS OF 1 FILE IN REVERSE TO ANOTHER FILE,PROGRAM TO COPY 1 FILE TO ANOTHER BY SPECIFYING FILE NAMES AS COMMAND LINE

2026


Which function in C can be used to append a string to another string?

1222


Is c procedural or functional?

1029


What is %lu in c?

1261