Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define _CRT_SECURE_NO_WARNINGS
- #include <stdio.h>
- #include <stdlib.h>
- int main()
- {
- printf("Degrees Celsius Degrees Fahrenheit\n");
- for (float celsius = 0; celsius <= 100; celsius += 20.0) {
- printf("%6.2f %.2f \n", celsius, 9 / 5.00 * celsius + 32);
- }
- system("pause");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement