Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main()
- {
- float celsius, fahrenheit;
- printf("Enter T in celsius - ");
- scanf("%f", &celsius);
- fahrenheit = ((celsius * 9)/5) + 32;
- printf("\n %.2f C = %.2f F", celsius, fahrenheit);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement