FamilyAccount java project

Sat, Nov 23, 2019 One-minute read

Goal

Use java to realize a simple FamillyAccount project.

Instruction

image

menu

image

Income and Expenditure

  • the initial money is 10000
  • the Income line would add money to the initial money
  • chose expense would substract money from account
image

income

image

expenditure

  • chose 1 can see the details to trace the money

    image

    Income and Expenditure

  • chose 4,then chose Y/N to exit

image

Income and Expenditure

Project provides Utility.java, includes:

  • public static char readMenuSelection(): enable user enter “1-4” number, then return.

  • public static int readNumber():

  • public static String readString():

  • public static char readConfirmSelection():

code down