Question: Write and run a SPIM program (in QtSpim) which takes a string as input, and outputs the same string with the first occurrence of a

Write and run a SPIM program (in QtSpim) which takes a string as input, and outputs the same string with the first occurrence of a letter in each word in uppercase, and all other letters in lowercase. Any non-letters should remain as they are. The string can consist of any characters up to a maximum of 100. You may assume that a new word starts after one or more spaces. For example the string "hhdThY 67trrEErr UUUdd$5W" should become "Hhdthy 67Trreerr Uuudd$5w"

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!