Answered step by step
Verified Expert Solution
Question
1 Approved Answer
So, i have to compare two strings, letter by letter, until one of the one of the strings is less than or greater than the
So, i have to compare two strings, letter by letter, until one of the one of the strings is less than or greater than the other.
but im not aloud to use the strcmp function, but i also have to use that compareString that i have above the main. using that can someone show me how to compare the two using a for loop please? i also cannot use "gets". so if someone could show me how to use a for loop to compare my two strings i have created and the function up top, that would be awesome. thanks.
#includeStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started