Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- void degrees_Fto_C(float f){
- float c;
- c=(5/9)*(fâ(32));
- printf("%f",c);
- }
- int main(){
- float temp;
- printf("Enter the temperature in Fahrenheit: n");
- scanf("%f",&temp);
- degrees_Fto_C(temp);
- return 0;`enter code here`
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement