All pastes #425579 Raw Edit

Stuff

public text v1 · immutable
·published 2007-04-05 15:46 UTC
rendered paste body
#include <stdio.h>

int main()
{
	int cm, step, upper;
	upper=10;
	cm=1;
	step=1;
	float inch=1/2.54;
	while(cm<=upper)
	{	
	inch=inch/cm;
	printf("Cm: %d\tInch: %f\n", cm, inch*cm);
	cm+=step;
	}
	
}