Given an int
array named nums
, determine if it contains any values
between 700
and 799
, inclusive. If it does, print "Found"
.
The phrase "Found"
should only be printed once, even if multiple elements
in the array are in the seven-hundreds.
Additionally, after searching the array you should print "Done", regardless if an element in the seven-hundreds was found or not.
Stuck? You may find these lessons helpful: