loops - How to Exit the input operation by entering a certain character -
i trying make user enters integer elements wants store them in array using while loop.
the size of array not entered directly calculated using user input.so use dynamic memory allocation method.
i suggested using while because not know how many inputs user enter.my problem how make loop stops. mean how make user stops entering numbers example entering character.
Comments
Post a Comment