#include int main(); { char kmh[300]; //moved both varliables inside main no need to put them outside int kmhtomph; printf("%s\n","Enter kmh: "); // the first parameter of printf is a design string fuck I forgot the real name fgets(kmh, sizeof(kmh), stdin); //variable names are used without the "" kmhtomph = kmh * 0.6213712 printf("MPH is %d", kmh); return (0); }