Forum: C Jan 31st, 2009 |
| Replies: 12 Views: 1,699 It seems that the code is written in Pascal or it's just and algorithm. Well, := means equal to (=) in C.
the algorithm is same as i told u before. |
Forum: C Jan 30th, 2009 |
| Replies: 12 Views: 1,699 Solution has been sent to you ... however i didnt compile the code, but it will work, i just forgot to set the boundries of array and hope that u will do it by using a nested while loop of if... |
Forum: C Jan 30th, 2009 |
| Replies: 12 Views: 1,699 Well, a simple logic for u is that
1. maintain loop which will run until a condition occurs ( that condition i will tell u a bit later)
2. now in that while loop read the first two number, if the... |