for_geo.c 197 B

12345678910
  1. /* for_geo.c */
  2. #include <stdio.h>
  3. int main(void)
  4. {
  5. double debt;
  6. for (debt = 100.0; debt < 150.0; debt = debt * 1.1)
  7. printf("Your debt is now $%.2f.\n", debt);
  8. return 0;
  9. }