Math, asked by dhntntbtjgn, 7 months ago

write a program using scanner class to create a class product details to input item name , rate it off item and quantity sold . calculate the amount. add 12.5% as v a t and display the next bill along with all the data​

Answers

Answered by abhijit1374
0

Answer:

fghhyjkohjkkiioljiioopp

Answered by smitarani60
0

Answer:

Java program to calculate discount of a product. With the help of the following program, you can calculate the discount of a product instantly. The following code has been written in five different ways. By using standard values, using command line arguments, while loop, do while loop, user-defined method and creating a separate class.

How to calculate a discount on a product?

Java Program : Calculate Batting Average Example | Programs

Java Program To Calculate Power Of Number | 4 Ways

A: Discount is defined as the reduction in the price something you sell to the customers. Most of the discount rate is given in percentage rate.

Here is the formula to calculate the discount:

Discount = List price x Discount Rate

For example :

A pen costs 50$ and it is been sold at a discount of 12%, what is the discount price of the pen?

A: = 50 x 12/100

= 50 × 0.12

Step-by-step explanation:

please mark me as brainliest and follow me

Similar questions