I Haz Codes

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Menu
Weight converter

Write a program which will ask the user if they want to convert kilograms to ounces or visa versa. Then get the user to enter then number and output the result.

The program should do the following –

  • Ask if they want to convert kilograms to ounces or ounces to kilograms.
  • Ask for the amount they want to convert.
  • Perform the correct conversion.
  • Display the result.

 

Leave a Reply

Your email address will not be published. Required fields are marked *

Information