j

Tuesday, 3 November 2015

Write a program that take user weight in pounds and convert it into kilogram.



#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
float kg,pound;
printf("Enter your weight in pounds ::");
scanf("%f",&pound);
kg=pound*0.4536;
printf("Weight in kilogram is %d",kg);
getch();
}

Subscribe to this Blog via Email :