Anda di halaman 1dari 2

A shop keeper needs a java program which could maintains his sales.

Write a class based java program which can perform the following: A class library should contain: variables ========= itemcode itemname itemprice itemqty totalprice Main program should contain: transfering input data to data() calling billing() calling report() Nice Day Butare 07425360 =========================== Bill NO: 5367 Date: 28/06/11 +++++++++++++++++++++++++++ Item Code: 1001 Item Name: Nido Milk Powder Item Price: 3500 RWF Item Qty : 3 Total Price: 10500 RWF ++++++++++++++++++++++++++++ methods ======= data() ---> capture input data

billing() ---> calculate the bill report() ---> print the bill

Thank you for shopping with Nice Day