Skip to content

Instantly share code, notes, and snippets.

View zoglun's full-sized avatar

zoglun zoglun

  • Moegirlpedia
View GitHub Profile
@zoglun
zoglun / DVD-rental.java
Last active August 29, 2015 14:20
DVD rental
// Hey, you. following codes are not correct nor complete.
// If you find this on github. Don't copy code. You will lose points.
You are creating a text-based dvd-rental store. Each dvd will contain information for
the DVD title (String), genre (comedy, drama, documentary, horror, romance, musical),
original rental price (double), sale price (double), onSale (boolean),
numberOfTimesRented(integer) and isCurrentlyRented (boolean). While the dvd rental
store program is running, the interface should look like this:
Welcome to the DVD Store! Select an option below:
1) add an DVD