Introduction to Java :: Problem Set 2

  1. Write a program that will prompt the user for his/her age and then outputs the age and his/her age in five years (class AgeInFive)
  2. Write a program that prompt the user to enter an objectís weight in kilograms, then output the weight in lb. (class WeightConversion)
  3. Write a program that will prompt the user for his/her birth year and then output his/her age in the year 2050. (class OldAge).
  4. Find a Celsius temperature converter formula. Prompt the user to enter Fahrenheit values and then convert those values to Celsius. (class TemperatureConverter)
For answers click here