3.03.2012

kg to pound convert

Q. Write a C program to convert kilograms to pounds.


Ans.


Formula for conversion kg to pounds:


1 kilogram = 2.20462262184878 pounds
Hence, pounds = 2.2 * kilograms


/*c program for conversion to kg to pound*/
#include<stdio.h>
#include<conio.h>
int main()
{
  float kg,pound;
  printf("Enter value of Kilograms : ");
  scanf("%f",&kg);
  pound=2.20462262184878*kg;
  printf("\n\t-- Convert Kilograms to pounds --\n");
  printf("\n%f kg = %f pound",kg,pound);
  getch();
  return 0;
}


The output of above program would be:

Output of Convert Kilograms to pounds C program
Figure: Screen shot for Convert Kilograms to pounds C program




Related programs:


Length conversion programs
  1. Convert meters to feet and feet to meter
  2. Convert meters to inches and Inches to meter
  3. Convert inches to feet and feet to inches
  4. Convert feet to yards and feet to yards

Width and mass Conversion programs
  1. Convert pounds to kilograms
  2. Convert tons to kilograms
  3. Convert kilograms to  tons

Area Conversion programs
  1. Convert square inches to square feet
  2. Convert square feet to square inches
  3. Convert acres to square feet
  4. Convert square feet to  acres


Number System conversion programs
  1. Convert decimal to binary program
  2. Convert decimal to octal program
  3. Convert decimal to hexadecimal program 
  4. Convert binary to decimal program 
  5. Convert binary to hexadecimal program
  6. Convert binary to octal program 
  7. Convert octal to decimal program
  8. Convert octal to binary program
  9. Convert hexadecimal to binary program
  10. Convert hexadecimal to decimal program


Other Conversion programs
  1. Convert digits of number to word program
  2. Convert roman to number program
  3. Convert number to roman program

3 comments:

  1. Saved as a favorite, I really like your site! raspberry ketone
    Here is my website :: quality raspberry ketone lean

    ReplyDelete
  2. i need c program of conversion sush as currency,area,time,vilocity,volume,temperature pressure,power,energy,mass,lenght, somebody can help me to make this as one program by function,.

    ReplyDelete
    Replies
    1. I updated above conversion C program link (checkout).
      Remaining link I will update soon.
      (If you require any C program source code immediately/quickly, then write me your problem now.)

      Delete