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