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; }

27th Aug 2021, 12:56 PM
KISI BI SUBJECT
KISI BI SUBJECT - avatar
1 Answer
0
Try going though the C tutorial
27th Aug 2021, 1:41 PM
Slick
Slick - avatar