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
Define a pointer to a data member of the type pointer to pointer?
When does a name clash occur?
without if else statement can be written ah
Why do we use structure in c++?
How do you flush std cout?
Which field is used in c++?
plz send me National informatics center paper pattern
What is the best c++ compiler?
what is oops and list its features in c++?
If we want that any wildcard characters in the command line arguments should be appropriately expanded, are we required to make any special provision? If yes, which?
What is the difference between the indirection operator and the address of oper-ator?
How can you prevent accessing of the private parts of my class by other programmers (violating encapsulation)?