Computer Science, asked by shalu3954, 1 year ago

define a class called parking lot with the following description : instance variables/data members: int vno-- to store the vehicle number int hours-- to store the number of hours the vehicle is parked in the parking lot. double bill--- to store the bill amount. member methods: void input () -- to input and store the vno and hours. void calculate ()-- to compute the parking charge at the rate of Rs 3 for the first hour or part there of and Rs 1.50 for each additional hour or part there of. void display ()--- to display the detail.write the main method to create an object of the class and call the above methods.​

Answers

Answered by udyangaur
2

Answer:

dt66ct6ctyctyct gu uiugiuvgiv7tiv7t

Similar questions