a guest Jun 16th, 2019 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include<stdio.h>
  2. void degrees_Fto_C(float f){
  3. float c;
  4. c=(5/9)*(f–(32));
  5. printf("%f",c);
  6. }
  7. int main(){
  8. float temp;
  9. printf("Enter the temperature in Fahrenheit: n");
  10. scanf("%f",&temp);
  11. degrees_Fto_C(temp);
  12. return 0;`enter code here`
  13. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand