// shoes2.c -- converts a shoe size to centimeters
#include <stdio.h>

const float ADJUST = 19.4056;
const float SCALE = 0.8255;

int main(void)
{
	double shoe, foot;

	printf("Shoe size (men's)    foot length\n");
	shoe = 3.0;
	// starting the while loop
	while (shoe < 18.5)
	{
		foot = SCALE * shoe + ADJUST;
		printf("%10.1f %15.2f centimeters\n", shoe, foot);
		shoe = shoe + 1.0;
	}
	printf("If the shoe fits, wear it.\n");
	return 0;
}