Facebook
From Sidjd, 2 Months ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 321
  1. Use JOptionPane in solving the following problems:
  2. 1.Write a program that declares a variable named inches as an
  3. input, which holds a length in inches. Display the value in feet and
  4. inches; for example, 86 inches becomes 7 feet and 2 inches. Save
  5. the program as InchesToFeet.java.
  6. 2. Write a program that accepts a number of minutes and converts
  7. it both to hours and days. For example, 6,000 minutes equals 100
  8. hours and equals 4.167 days. Save the program as
  9. MinutesConversion.java.