next up previous
Next: Now for Fortran Up: CS101 Lecture 5 Previous: Top Shell

Top Shell for test235

How to test if a number n has 235 property?

Repeated division by 2, 3 and 5.

Use a variable quot to keep quotient.



G. Sivakumar 2000-08-06