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 is class definition in c++ ?
I want explanation for this assignment: how to connect mysql database using c/c++,please explain this detailly?
If there are 1 to 100 Numbers in array of 101 elements. Which is the easy way to find repeated number?
Search for: what is pair in c++?
What are the manipulators in c++?
Which recursive sorting technique always makes recursive calls to sort subarrays that are about half size of the original array?
What sorting algorithm does c++ use?
How to avoid changing constant values?
To which numbering system can the binary number 1101100100111100 be easily converted to?
Comment on assignment operator in c++.
What is istream c++?
If a function doesn’t return a value, how do you declare the function?