Must accepts "Maestro Cards"
Tax for bike should be less than 15
Total number of lanes is more than 10
Must provides monthly pass
Write a method:
boolean isGoodTollBridge(String[] cardsAccepted, String[] tollTax, boolean hasMonthlyPass, int numberOfLanes);
String[] cardsAccepted A String array of names of card types accepted for payment of toll tax, it can be null if the toll does not accept any card
String[] tollTax A String array of toll tax chart (say “Train : 300â€Â,â€ÂBullCart : 10â€Â)
boolean hasMonthlyPass This parameter defines whether there is any monthly pass available or not
int numberOfLanes This parameter defines the number of lanes for each side
No Answer is Posted For this Question
Be the First to Post Answer
What does the nocreate and noreplace flag ensure when they are used for opening a file?
Is it possible to have a recursive inline function in c++?
Is recursion allowed in inline functions?
which is the easy way to divide any integer by 2?
Is linux written in c or c++?
What is a smart pointer?
What is the best ide for c++?
Show the declaration for a static member variable.
Write about the use of the virtual destructor?
How to construct virtual constructor
6 Answers CIStems Software, Symphony,
What can c++ be used for?
What is setf in c++?