Question: String user _ input is read from input. If all the characters in user _ input are numbers, then output 'All numbers'. Otherwise, if user
String userinput is read from input.
If all the characters in userinput are numbers, then output 'All numbers'.
Otherwise, if userinput ends with then output 'String ends with
If none of the above are true, output No condition fits'.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
