Search:

Type: Posts; User: SunshineInABag

Search: Search took 0.10 seconds.

  1. Replies
    29
    Views
    2,474

    Re: Do While Loop

    If newDonation <= 0, then highestDonation = newDonation. Since you're comparing whether newDonation is greater but not equal to highestDonation, the condition evaluates to false.
  2. Replies
    29
    Views
    2,474

    Re: Do While Loop

    You have a few ways to do this, so start by breaking the problem into small steps. First, you have to get the values of the donations. If you have a lot of donations, it can be very time-consuming...
Results 1 to 2 of 2