Science, asked by anu275, 1 year ago

who made first two wheeler and four wheeler vehicle

Answers

Answered by shalupuppy
2
Pierre lallement, Kirk Patrick Macmillan made first two wheeler and Suzuki was a leader o
in the development of four wheeler

shalupuppy: wl come
Answered by swarsh
14

Question

INFOSYS QUESTION ANS ::::

WeCare insurance company wants to calculate premium of vehicles.

Vehicles are of two types – "Two Wheeler" and "Four Wheeler". Each vehicle is identified by vehicle id, type, cost and premium amount.

Premium amount is 2% of the vehicle cost for two wheelers and 6% of the vehicle cost for four wheelers. Calculate the premium amount and display the vehicle details.  

Identify the class name and attributes to represent vehicles. Drag and drop the chosen class name, attributes and methods into the appropriate section of the box shown below.

Answer:

Class Name:

1)Vehivle

Attributes:

1)Vehicle_id

2)Vehicle_cost

3)Vehicle_type

4)premium_amount

Methods

_init_()

display_vehicle_details

calculate_premium()

Similar questions