fork download
  1. // program to convert celcius to farenheit (f= 9/5*c +32)
  2. #include <stdio.h>
  3. int main(){
  4. int celsius;
  5. printf("Give your body temprature in celsius(C):/n");
  6. scanf("%d", &celsius);
  7. printf("You are cool at the %f Farenheit(F).", (9.0/5.0*celsius)+32);
  8. return 0;
  9. }
Success #stdin #stdout 0s 5264KB
stdin
100
stdout
Give your body temprature in celsius(C):/nYou are cool at the 212.000000 Farenheit(F).