/*Conversion of Kilometers to Mile program*/
#include"stdio.h"
#include"conio.h"
void main()
{
clrscr();
float Kilometer,Mile;
printf("Enter the value of Kilometer");
scanf("%f",&Kilometer);
Mile=0.62*Kilometer;
printf("The converson of Kilometer to Mile is =%.2f",Mile);
getch();
}
#include"stdio.h"
#include"conio.h"
void main()
{
clrscr();
float Kilometer,Mile;
printf("Enter the value of Kilometer");
scanf("%f",&Kilometer);
Mile=0.62*Kilometer;
printf("The converson of Kilometer to Mile is =%.2f",Mile);
getch();
}
No comments:
Post a Comment
Thank you for visit this site. You will get many programming news from here and learn programming very easily.