All pastes #421527 Raw Edit

Untitled

public text v1 · immutable
·published 2007-04-02 21:42 UTC
rendered paste body
#include <stdio.h>

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