Looking for a Tutor Near You?

Post Learning Requirement »
x

Choose Country Code

x

Direction

x

Ask a Question

x

x
x
x
Hire a Tutor

ICSE Important Questions

Loading...

Published in: Java And J2EE
2,428 Views

Java programs for class 9 and 10

Jayeeta B / Kolkata

3 years of teaching experience

Qualification: MCA

Teaches: All Subjects, Computer, Computer Science, School Level Computer

Contact this Tutor
  1. Create a class named camera and write a program(source code)in JAVA to accept printed price of a digital camera .Calculate and print amount to be paid by a customer .Shopkeeper offers 10% discount on the printed price of digital camera .However the customer has to pay 6% sales tax on remaining price. class camera public void display(double a) double double c=a-b; double d=c*(6.0/100); double e=c+d; System.out.println("Amount to be paid is"+e); OUTPUT Amount to be paid is95.4