I have 2 questions ro solve but I donno how to go about them. I would really appreciate if anyone cam help in any of them!!
First, how can I validate for non numeric value entered by the user using while loop? for example, if the user enter non numeric value, I should stop the while loop?
Second, how can I count the number of spaces , the number of new lines , and the number of all other characters entered by the user??
Finnaly, how can I replace each period with an exclamation mark in a string entered by the user and print it?