Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- float Convcelsiusfare(float c)
- {
- float f;
- f =9.0 / 5.0 * c + 32;
- return f;
- }
- int main()
- {
- float f,c;
- printf("digite temp em C:");
- scanf("%f",&c);
- f =Convcelsiusfare(c);
- printf("F:%f",f);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement