Question 4
Define a class taximeter having the following description:
Data members/instance variables
int taxino - to store taxi number
String name - to store passenger's name
int km - to store number of kilometres travelled
Read input from the user and display the detaplease
Answers
Answered by
1
Explanation:
int taxino - to store taxi number. String name - to store passenger's name int km - to store number of kilometres travelled. Member functions:
Similar questions