j

Monday, 2 November 2015

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



#include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
float kg,pound;
cout<<"Enter your weight in pounds ::";
cin>>pound;
kg=pound*0.4536;
cout<<"Weight in kilogram is "<<kg;
getch();
}

Subscribe to this Blog via Email :