Computer Science, asked by trivedisanjari2314, 8 months ago

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 TrishaRathod
1

Answer:

it is easiest question don't take tension I will give the answer tomorrow

Answered by prachiv064
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