/*Conversion of Centimeters to Inch Program*/
#include"stdio.h"
#include"conio.h"
void main();
{
clrscr();
float Centimeter,Inch;
printf("Enter the value of Centimeter");
scanf("%f",&Centimeter);
Inch=Centimeter/2.54;
printf("The Inch Value is=%.2f",Inch);
getch();
}
#include"stdio.h"
#include"conio.h"
void main();
{
clrscr();
float Centimeter,Inch;
printf("Enter the value of Centimeter");
scanf("%f",&Centimeter);
Inch=Centimeter/2.54;
printf("The Inch Value is=%.2f",Inch);
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.