Advertisement
Guest User

Untitled

a guest
Dec 10th, 2019
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. #define _CRT_SECURE_NO_WARNINGS
  2. #include <stdio.h>
  3. #include <stdlib.h>
  4.  
  5. int main()
  6. {
  7.  
  8. printf("Degrees Celsius Degrees Fahrenheit\n");
  9.  
  10. for (float celsius = 0; celsius <= 100; celsius += 20.0) {
  11. printf("%6.2f %.2f \n", celsius, 9 / 5.00 * celsius + 32);
  12. }
  13.  
  14. system("pause");
  15. return 0;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement