Pirate Ship I
You're the captain of a pirate ship and would like to calculate whether your trip was a success. You are given two parameters -
The trip is a success iff there is at least as much gold as pirates. However, if gold + pirates > 100, then the trip is a failure, since the ship may sink. Return
true if the ship was a success and
false if it was a failure.
Boilerplate code is provided for Java. To solve this in another language, you just need to read in a list of number pairs from the standard input, where the first number is
gold and the second number is