j

Tuesday, 3 November 2015

Write a program that take user weight in kilogram and convert it into pounds Hense (1 kg=2.2 pounds)



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

Subscribe to this Blog via Email :