"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." -- Ted Nelson
Tthuta Soe wrote: .. I was sick for like last 2 session of my course, so I miss some array and things...
Tthuta Soe wrote: This is three but not correct. It's as far as I reached
All things are lawful, but not all things are profitable.
Tthuta Soe wrote:Hi,
...
You have the same problem with precedences there; you would need a second pair of () in that expression.Knute Snortum wrote:. . .
* The following is wrong:
This says, "If the year is equal to the year divided by 4...". What you want is, "If the year is evenly divisible by 4..." To do this, use the modulo operator (%).
This says, "If the remainder after dividing by 4 is zero..."
All things are lawful, but not all things are profitable.
All things are lawful, but not all things are profitable.
Don't get me started about those stupid light bulbs. |