/*
* 1000+ C programs + tutorials
*
*
* 31_pound_to_grams_c_program.c
*
*
* Created on: Oct 20, 2014
* Author: Code2care.org
*/
#include
//#include
void main() {
float pound,gram;
// clrscr();
printf("C Program to convert Pound to Gram : ");
printf("\n\n Enter Weight in Pounds : ");
scanf("%f", £);
gram = pound*453.592;
printf("\n\n %f Pound = %f Gram \n",pound,gram );
// getch();
}
-
Output :
C Program to convert Pound to Gram :
Enter Weight in Pounds :
3.000000 Pound = 1360.776001 Gram
The best way to learn C programming is to practice more and more of programs .
Code2care C Programming tutorials provide 1000+ programs in C that you can study and become an expert in the language. Programs are divided into categories depending upon type and complexity.
BSc. IT, BSc. Computer Science, BSc. IT, MSc. IT, MSc. Computer Science, MCA, BTech IT & BTech Engineers may find these programs very useful.