The following if statement determines whether choice is equal to ‘y’ or ‘y’:
if (choice == 'Y' | | choice == 'y')
Rewrite this statement so it only makes one comparison and does not use the | | operator.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.