Computer Science, asked by seemapatel1825, 4 months ago

write a c program to convert kilometers to meter, CM, feet,inch.meter=km*1000,cm=meter*100,feet=km*3280.84,inch=km*39370.08​

Answers

Answered by anvisha27008
1

Answer:

#include <stdio.h>

int main()  

{

float km;

printf("Enter Length in Kilometer : ");

scanf("%f",&km);

printf("\n %.2f KM = %.2f Meters",km,km*1000);

printf("\n %.2f KM = %.2f Feets",km,km*3280.84);

printf("\n %.2f KM = %.2f Inches",km,km*39370.08);

printf("\n %.2f KM = %.2f Centimeters",km,km*1000*100);

return 0;

}

Output

Category: PPS

Explanation:

Answered by Mohammedarmaanshaikh
0

so please make me as brainly

Attachments:
Similar questions