0
Where the execution starts ??and could anyone decode this step by step process as we write in comments??
#include <stdio.h> float temp_f; float temp_c; char line_text[500]; int main() { printf("Input a tempture(in centigrade\n"); fgets(line_text,sizeof(line_text),stdin); sscanf(line_text,"%f",&temp_c); temp_f =((9.0/5.0)*temp_c)+32.0; printf("%f degree fahrenheit.\n",temp_f ); return 0; }
1 Odpowiedź
0
Try going though the C tutorial