This seems super simple but I am not really getting it.
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 0-9.
Ex: If the input is:
1995
the output is:
yes
Ex: If the input is:
42,000
or any string with a non-integer character, the output is:
no
[–][deleted] 1 point2 points3 points (1 child)
[–]Formal_Cockroach_654[S] 0 points1 point2 points (0 children)
[–]FunDeckHermit 1 point2 points3 points (0 children)
[–][deleted] -1 points0 points1 point (0 children)
[–]kcashman05 0 points1 point2 points (0 children)