Advertisement
Guest User

Untitled

a guest
Feb 11th, 2016
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. #include <stdio.h>
  2. main ()
  3. {
  4. int fahr, celsius;
  5. int lower, upper, step;
  6. lower=0;
  7. upper=300;
  8. step=20;
  9. fahr=lower;
  10. while /fahr<=upper)
  11. {
  12. celsius=5*(fahr-32)/9;
  13. printf("%d\t%d\n, fahr, celsius);
  14. farh=fahr+step;
  15. }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement