Question: C programming Two characters are read from input into variables firstChar and lastChar. Output Valid input if firstChar and lastChar are not the same character
C programming Two characters are read from input into variables firstChar and lastChar. Output "Valid input" if firstChar and lastChar are not the same character regardless of case if the input contains letters Otherwise, output "Invalid input". End each output with a newline.
Ex : If the input is j then the output is:
Valid input
Ex : If the input is Cc then the output is:
Invalid input
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
