1
0

for_none.c 198 B

123456789101112
  1. /* for_none.c */
  2. #include <stdio.h>
  3. int main(void)
  4. {
  5. int ans, n;
  6. ans = 2;
  7. for (n = 3; ans <= 25; )
  8. ans = ans * n;
  9. printf("n = %d; ans = %d.\n", n, ans);
  10. return 0;
  11. }