1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

help with iteration

Discussion in 'C' started by hyperventilate, Mar 17, 2008.

  1. hyperventilate

    hyperventilate New Member

    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.
     
  2. asadullah.ansari

    asadullah.ansari TechCake

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

Share This Page