Hello There, Guest! RegisterLogin with Facebook
Login with Facebook
 >>> Anna University Sixth Semester Question Bank Collection (R2013) ECE,MECH,CSE,IT,EEE,CIVIL,EIE >>> Anna University Study Materials for all Departments >>> Anna University Question Papers : April May June 2015 Question Papers | Nov Dec 2014 and Jan 2015 Question Papers

## Register or Login to Submit Study Materials , Shoutbox and also to access Many Features !!

Share your Study Materials with us : Click Here

 Find the error - Questions by keerthana keerthana .M Senior Member   04-08-2013, 08:46 PM (This post was last modified: 04-08-2013, 09:09 PM by Dhilipkumar.) Debug the error its very intersting .Debug the program if u have the knowledge of c language Code: ```                                                          Exponential value #include #include void main() { double term=1,expo=1; float x; int i; clrscr(); printf("Enter the exp value of x: "); scanf("%f",&x); for(i=1;term>=0.00001;i++); { term *= x/i; expo+=term; } printf("\Our Exp = %f %f\n",x,expo); getch(); }``` Rocky Raj I'm mr.Lonely 04-08-2013, 08:56 PM (This post was last modified: 04-08-2013, 09:11 PM by Dhilipkumar.) Is it right??? Code: ```                                                          Exponential value #include #include void main() { double term=1,expo=1; float x; int i; clrscr(); printf("Enter the exp value of x: "); scanf("%f",&x); for(i=1;term>=0.00001;i++); { term *= x/i; expo+=term; } printf("\n Our Exp = %f %f\n",x,expo); getch(); }``` If you want to win the world, be ready to lose yourself!! Rocky Welcomes you!!!!  keerthana .M Senior Member 05-08-2013, 05:27 AM no for loop has terminated . It shouldnot be terminate .this is the only correction « Next Oldest | « Next Newest

Subscribe

Recommend on Google