Question: Three characters are read from input into variables char 1 , char 2 , and char 3 . If char 1 , char 2 ,
Three characters are read from input into variables char char and char If char char or char only contains digits, then output "Input is all digits". Otherwise, output "Input is not all digits". End each output with a newline.
Ex : If the input is then the output is:
Input is all digits
Ex : If the input is c then the output is:
Input is not all digits IN C
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
