I am new to java, only been taking class for 1 month and i have to come up with this programme.
Can anyone please help me please? it stand 20% and i've been cracking my head for serveral nights.
Really please any kind soul out there please .
A possible run of the programme.
*****Shopping Expenditure Calculator****
1.Calculate Shopping Expenditure
2.Display Total Expenditure
3.Exit
****************************************
Please Enter Your Choice : 1
Please Enter Number of Items You Bought: 2
Please ener detials for item 1
===================================
Item 1's Description is :Trousers
Cost per item is :$56.80
Please enter quantity bought :1
Please confirm <Y/N> :n
Please ener detials for item 1
===================================
Item 1's Description is :Belt
Cost per item is :$30.55
Please enter quantity bought :1
Please confirm <Y/N> :Y
Cost for item 1 is = >>>$30.55<<<
Please ener detials for item 2
===================================
Item 1's Description is :Shirts
Cost per item is :$21.50
Please enter quantity bought :1
Please confirm <Y/N> :y
Cost for item 2 is = >>>$21.50<<<
*****Shopping Expenditure Calculator****
1.Calculate Shopping Expenditure
2.Display Total Expenditure
3.Exit
****************************************
Please Enter Your Choice : 1
Please Enter Number of Items You Bought: 1
Please ener detials for item 3
===================================
Item 1's Description is :Table
Cost per item is :$125
Please enter quantity bought :1
Please confirm <Y/N> :y
Cost for item 2 is = >>>$125.00<<<
*****Shopping Expenditure Calculator****
1.Calculate Shopping Expenditure
2.Display Total Expenditure
3.Exit
****************************************
Please Enter Your Choice : 2
Display Item's Individual Cost & Total Cost
=============================================
Cost of item 1 Belt is: $30.55
Cost of item 1 Shirts is: $21.50
Cost of item 1 Table is: $125.00
Total Expenditure is = >>> $177.05<<<
*****Shopping Expenditure Calculator****
1.Calculate Shopping Expenditure
2.Display Total Expenditure
3.Exit
****************************************
Please Enter Your Choice : 3
Thank you for using Shopping Expenditure Calculator.
Bye
Press any key to continure...
methods include:
*atleast one static method other than main()
*must have int,double,string inputs
*selection (switch-case or if-else)
*give error message if theres any wrong entry.
*minimum array size of 10
I really really really really appreciate if anyone is able to help me.
I give my thanks.