Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ///Home Work 6(ii) @Nurnobi shanto
- #include<stdio.h>
- float Fahrenheit(float a)
- {
- float f=(((a* 9.0) / 5.0) + 32);
- return f;
- }
- int main()
- {
- float f,c;
- printf("Enter Farhenheit :");
- scanf("%f",&c);
- f=Fahrenheit(c);
- printf("Fahrenheit: %.2f",f);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement