Computer Science, asked by sprihakhand, 2 months ago

Write a program to input a price of a jacket. Calculate 20% discount and print the amount needed to pay

Answers

Answered by sanskargupta29
0

Answer:

You have to put this in your main class of your java program

Explanation:

double jacket= 893;

System.out.println("The price of Jacket is Rs."+jacket);

System.out.println("But after the discout of 20% it will be onlu for Rs."+(jacket*20)/100)

There may be some mistakes in spelling or cases you can figure that out is you know coding.

Similar questions