Stuff
public text v1 · immutable#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;
}
}#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;
}
}