0
/ 1.0
Write a method that will return a string indicating whether or not the double value is in doubleSet. For example if dSet contained {4.5,...
Write a method that will return a string indicating whether or not
the double value is in doubleSet.
For example if dSet contained {4.5, 3.2, 1.1},
then containsMessage(dSet, 1.1); would return: "Set does
contain 1.1".
Also, containsMessage(dSet, 0.34); would return:
"Set does not contain 0.34".
Your feedback will appear here when you check your answer.