Forum: C Mar 12th, 2008 |
| Replies: 12 Views: 1,973 Factorial of any number greater than 5 ends with a zero. For a larger number, the number of zeroes at the end constitute a large part of the number. If you can eliminate those zeroes it will help.
... |
Forum: C Feb 28th, 2008 |
| Replies: 2 Views: 1,101 Use else if statement. According to your code, if a=0 and b=0 then both the first and the second if statements will be executed. And the output will be
"There are no solutions"
"There is one... |
Forum: C Jan 21st, 2007 |
| Replies: 10 Views: 2,073 You can clear the entire screen using the cleardevice() function and redraw the square in a loop with the new positions. |