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 the importance of mutable keyword?
please help to write the code of chess game in c++??????????
What are special characters c++?
What is prototype in c++ with example?
How to give an alternate name to a namespace?
int *p = NULL; printf("%1d",p) ; what will be the output of this above code?
Write about the scope resolution operator?
what kind of projects are suitable for c and c++
What is virtual destructor? What is its use?
How do you declare A pointer to a function which receives nothing and returns nothing
If you don’t declare a return value, what type of return value is assumed?
What is the return value of the insertion operator?