help with iteration

Newbie Member
17Mar2008,20:34   #1
hyperventilate's Avatar
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.
TechCake
18Mar2008,10:12   #2
asadullah.ansari's Avatar
explain clearly. what is use of B, C,D, etc?? How u will get two A' snew?