selection menu(do...while):
temperature, distance, weight, or currency
If invalid
error message
menu options / exit
Switch
. temperature -> Celsius/Fahrenheit/Kelvin
. weight -> lb/kg
. currency -> USD/EUR
display a formatted output -> original / converted value
ask another
. yes -> menu
. no -> thank+exit
- use class and object
- use a default and a parametrized constructor
- create public methods in the case
- hexpose properties with
get
andset
- use
this
keyword to seperate attributes and properties - manual testing for all use case
- (bonus) use references and pointers
- (bonus) automated test case