Question #245494

Write a program to help them understand the American temperature readings easier, based on their indian way of understandings


Expert's answer

#include <stdio.h>

// converts fahrenheit to celsius
double far_to_cel(int degree) {
  return (degree - 32) * 5 / 9;
}

int main() {
  printf("32F equals to %f\n", far_to_cel(32));
  return 0;
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS