#include <stdio.h>
int main () {
float kilometer, meter, feet, inch, cm;
printf("Enter a value in kilometers: ");
scanf("%f", &kilometer);
meter = 1000 * kilometer;
feet = 3280.84 * kilometer;
inch = 39370.1 * kilometer;
cm = 100000 * kilometer;
printf("\nEquivalent lengths:\n");
printf("Meters: %.2f\n", meter);
printf("Feet: %.2f\n", feet);
printf("Inches: %.2f\n", inch);
printf("Centimeters: %.2f\n", cm);
return 0;
}