fork download
  1. #include <stdio.h>
  2. int main()
  3. {
  4. float Celcius, Farenheit;
  5. printf ("Put the value in Celcius : ");
  6. scanf("%f", &Celcius);
  7. Farenheit = ((Celcius * 9) / 5) + 32;
  8. printf("The value of Celcius to Farenhite : = %.2f", Farenheit);
  9. return 0;
  10. }
Success #stdin #stdout 0.01s 5476KB
stdin
15
stdout
Put the value in Celcius : The value of Celcius to Farenhite : = 59.00