Question: In C++ please Forms often allow a user to enter an integer. Write a program that takes in a string representing an integer as input;
Forms often allow a user to enter an integer. Write a program that takes in a string representing an integer as input; and outputs yes if every character is a digit 09 Ex: If the input is 1995 , the output is: yes Ex. If the input is 42 , 000 or 19951 , the output is: no Hint Use a loop to examine each character in userstring If userString at(position) >=0 and
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
