У нас вы можете посмотреть бесплатно If Else slab based Java Program | Electric Bill | ICSE Class 10 Computer или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
Define a class Electric Bill with the following specifications: class: ElectricBill Instance Variable/ data member: String n – to store the name of the customer int units – to store the number of units consumed double bill – to store the amount to paid Member methods: Void accept() – to accept the name of the customer and number of units consumed Void calculate() – to calculate the bill as per the following tariff : Number of units — Rate per unit First 100 units — Rs.2.00 Next 200 units — Rs.3.00 Above 300 units — Rs.5.00 A surcharge of 2.5% charged if the number of units consumed is above 300 units. Void print() – To print the details as follows : Name of the customer ……… Number of units consumed …… Bill amount ……. Write a main method to create an object of the class and call the above member methods. ************************************************** You can follow us here, Twitter :- / alokmaurya95 Instagram :- / alokmaurya95 Facebook :- / alokmauryaofficial Check out our website :- www.amplifylearning.co.in Email us at :- amplifylearning@yahoo.com **************************************************** Join our youtube family, lets grow together! Subscribe to Amplify Learning / amplifylearning #AmplifyLearning #Computer