...

/

Example 4: Weight Conversions

Example 4: Weight Conversions

Learn how to convert weight in kilograms to various other units.

Problem

Write a program that takes the weight of a commodity in kg, and convert it into the following units:

  • Grams
  • Quintals
  • Metric Tonnes
  • Pounds

Print the result of all ...