ecyor07
New Member
Hi guys, Im new in java programming so could you please help me build a program.
The program goes like this:
I need a program in accounting(A program for a cashier). The program asks the user to enter the AMOUNT of an item. A 6 percent tax will be added to the amount of the item. The program will ask the user how much will he pay. Then the program will display the change.
The final output of the program should be like this:
Amount of the Item: $_____
Tax: $_____
Total Amount: $_____
Amount Tendered: $______
Change:$______
The Attributes and methods to be used are:
double cost,tax,payment;
double getCost()
double getTax()
double getPayment()
void setCost(double x)
void setTax(double x)
void setPayment(double x)
It should only use java.io.*; Nothing else. Kindly help please. just give me a simple code for this program. (Newbie Code only because I cannot understand Advance codes). Thanx guys! you can also email me at royce_adam@yahoo.com Thanx again and good luck! (to me)
The program goes like this:
I need a program in accounting(A program for a cashier). The program asks the user to enter the AMOUNT of an item. A 6 percent tax will be added to the amount of the item. The program will ask the user how much will he pay. Then the program will display the change.
The final output of the program should be like this:
Amount of the Item: $_____
Tax: $_____
Total Amount: $_____
Amount Tendered: $______
Change:$______
The Attributes and methods to be used are:
double cost,tax,payment;
double getCost()
double getTax()
double getPayment()
void setCost(double x)
void setTax(double x)
void setPayment(double x)
It should only use java.io.*; Nothing else. Kindly help please. just give me a simple code for this program. (Newbie Code only because I cannot understand Advance codes). Thanx guys! you can also email me at royce_adam@yahoo.com Thanx again and good luck! (to me)
