Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #define TEMP(a) ((5.0/9.0)*(a-32.0))
- int main(void)
- {
- int x;
- float y;
- x = 0;
- printf("Umrechnung von Grad Celsius in Grad Fahrenheit\n");
- while(x <= 400)
- {
- y = TEMP(x);
- printf("%i Grad Celsius \t = \t %f Grad Fahrenheit\n ", x, y);
- x = x + 20;
- }
- getchar();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement