Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   help with iteration (http://www.go4expert.com/forums/help-with-iteration-t9402/)

hyperventilate 17Mar2008 20:34

help with iteration
Hi. I need some help with iteration.

What we need to do is to ask for 4 parameters from the user. The program will compute for A, B, C, D, E, F, and A_new. After one iteration, the program will use A_new as A and the process repeats until the difference between two A_new's is less than 0.001. How can I make this into a nested loop? We tried doing two do-while loops but the program just won't compile. Thanks in advance.

asadullah.ansari 18Mar2008 10:12

Re: help with iteration
explain clearly. what is use of B, C,D, etc?? How u will get two A' snew?

All times are GMT +5.5. The time now is 23:02.