Write a program to Convert Km to Meter in c

 Write a program to Convert Km to Meter.

Write a program to Convert Km to Meter


//Write a program to Convert Km to Meter.
#include<stdio.h>
#include<conio.h>
void main()
{
    int km;
    printf("\n Enter KM=");
    scanf("%d",&km);
    km=km*1000;
    printf("\n %dMeter",km);
    getch();
}









Output:-

Enter KM=2
2000Meter








Related Program (Please Check)

1. Basic Question All










Post a Comment

0 Comments