- Joined
- Dec 26, 2022
- Messages
- 1
- Reaction score
- 0
Good morning, I have just received the following task and am struggling to find a solution for it: Write a function that receives two strings from the main function. The function must go through the elements one by one of both strings and compare them. If both are letters, it prints the larger among them. If they are both anything else besides letters it does the same. If they differ (letter and something else), a blank space is printed.
This is the assignment I received and am struggling with. Thanks for all of your time.
This is the assignment I received and am struggling with. Thanks for all of your time.