Roshni purchased two books from a "Book Fair. She also availed discounts on the books. The books
on which the printed price was more than 1000 the discount was 35% and for others, discount was
10%. Input the printed price of the two books she purchased. Print the discount she got on each book.
Print the total amount she paid.
[15]Write a java program
Answers
Answered by
1
Answer:
it is easiest question don't take tension I will give the answer tomorrow
Answered by
0
Answer:
import java.until.*;
class Roshni
{
void main ( )
{
Scanner sc= new Scanner(System.in );
double bookcost1 = 0.0,bookcost2 = 0, dis1 = 0 , dis2 = 0,total =;
System.out.printIn( "Enter the cost of book1:");
Similar questions
Math,
4 months ago
English,
4 months ago
Social Sciences,
4 months ago
Social Sciences,
8 months ago
Social Sciences,
8 months ago
Physics,
1 year ago
Economy,
1 year ago
English,
1 year ago