I need to figure out how to make the input stop when an empty string is entered and have the output displayed after that.
I am using a while loop, which needs to read:
Expand|Select|Wrap|Line Numbers
- int number;
- while (number is not equal to an empty string)
- {
- statement;
- }
Expand|Select|Wrap|Line Numbers
- if (number is not equal to an empty string)
- {
- statement;
- }
- else
- break;