Define a class Mobike with the following description:
Data members or instance variables:
bno To store the bike’s number of customer.
phno To store the phone number of customer.
name To store the name of the customer
days To store the number of days the bike is taken on rent
charge To calculate and store the rental charge
Member methods:
void input() To input any store the details of the customer
Void compute() To compute the rental charge. The rent for a Mobile is charged on the following basis.
First 5 days : Rupees 500 per day
Next 5 days : Rupees 400 per day
Rest of the days : rupees 200 per day
void display() to display the details in the following format.
Answers
Answered by
0
Answer:
Self-induction of coil is the property by virtue of which it tends to maintain the magnetic flux linked with it and opposes any change in the flux by inducingcurrent in it. ... That is why self-induction is called the inertia of electricity
Similar questions
Social Sciences,
3 months ago
India Languages,
3 months ago
Math,
6 months ago
Hindi,
6 months ago
English,
10 months ago
History,
10 months ago