with total amount= quantity* final price
-The Main class is provided for you in binary form. You only test your program by running the binary file. There are several test cases for you, as follows:
Enter code:1
Enter code:1
Enter code:1
Enter speed:1024
Enter speed:1024
Enter speed:1024
Enter quantity:5
Enter quantity:5
Enter quantity:5
Enter price:23.134
Enter price:100
Enter price:100
Enter name:Evo
Enter name:Evo
Enter name:Evo
Enter brand:SamSung
Enter brand:Samsung
Enter brand:Samsung
4 of 5
Paper No: 1
1.Test toString
1.Test toString
2.Test getFinal Price
2.Test getFinal Price
2.Test getFinal Price
3.Test getTotalAmount
3.Test getTotalAmount
3.Test get TotalAmount
Enter your choice(1/2/3):1
Enter your choice(1/2/3):2
Enter your choice(1/2/3):3
OUTPUT:
1, Evo, SamSung, 1024, 23.13
OUTPUT:80.00
1.Test toString
OUTPUT:400.00
Zoom
+ 100%
Close