Function Constructor Questions Computer Class 10 ICSE ISC Java Programming

Veröffentlicht am: 28 December 2022
auf dem Kanal: ICSE Connect
22,887
980

Best Book for ICSE Computer by Prateik Sir
The Cheat Code : https://openinapp.link/6wbii

Design a class name ShowRoom with the following description :
Instance variables/ Data members :
String name – To store the name of the customer
long mobno – To store the mobile number of the customer
double cost – To store the cost of the items purchased
double dis – To store the discount amount
double amount – To store the amount to be paid after discount
Member methods: –
ShowRoom() – default constructor to initialize data members
void input() – To input customer name, mobile number, cost
void calculate() – To calculate discount on the cost of purchased items, based on following criteria

Download the app now : https://play.google.com/store/apps/de...

Cost Discount (in percentage)
Less than or equal to ₹ 10000 5%
More than ₹ 10000 and less than or equal to ₹ 20000 10%
More than ₹ 20000 and less than or equal to ₹ 35000 15%
More than ₹ 35000 20%
void display() – To display customer name, mobile number, amount to be paid after discount
Write a main method to create an object of the class and call the above member methods.

Function Constructor Questions Computer Class 10 ICSE ISC Java Programming
Computer Class 10 ICSE ISC Java Programming

ICSE Computer Applications by Prateik Sharma

Call now for live classes : 9115221119

Registration form : https://forms.gle/aZXu4oMpm6oe56K97

DM me on Insta for any doubts :   / prateik231  

Java for ICSE 10

#icsecomputer


Auf dieser Seite können Sie das Online-Video Function Constructor Questions Computer Class 10 ICSE ISC Java Programming mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer ICSE Connect 28 December 2022 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 22,887 Mal angesehen und es wurde von 980 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!