Question: Write a C program to do the following: ( i ) Input two Strings S 1 and S 2 ( ii ) If the strings
Write a C program to do the following:
i Input two Strings S and S
ii If the strings are equal, it has to display "Yes they are Equal"
If the $Sgt S$ it has to display $S$ is the greatest String"
If the $Slt S$ it has to display S is the greatest String"
Note: You should not use the strcmpfunction to compare the Strings
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
