Code for WRITE A PROGRAM ENTERED THROUGH THE KEYBOARD FOR KILO METERS AND METERS in C Programming
#include<stdio.h>
#include<conio.h>
void main()
{
float sum=0.0;
float meter,km;
clrscr();
printf("ENTER THE KILO METER :- ");
scanf("%f",&km);
printf("ENTER THE METER :- ");
scanf("%f",&meter);
sum = km + meter/1000;
printf("THE KILO METER IS :- %2.2f",sum);
getch();
}