Question: In MIPS Assembly language coding on MARS 4.5: Develop a program that takes a hardcoded statement, and asks the user for two different input words

In MIPS Assembly language coding on MARS 4.5:

Develop a program that takes a hardcoded statement, and asks the user for two different input words such as "UCF" and "KNIGHTS". Any words less than 10 characters will be accepted into the input.

Then the output should find how many times the user input word is given in the hardcoded statement. (the frequency of the word)

This program should not be case sensitive and regardless of the way user inputs the words, it should correctly find how many words in the statement. It can find any word in the sentence. For example, the user inputs "was" and "the", it will count how many times those words are in the statement.

Hardcoded statement:

"The mascot of UCF was chosen as the Knights. The Knights of Pegasus was a submission put forth by the students, staff and facult. UCF's original mascot was the Citronaut."

Sample Output Example:

In MIPS Assembly language coding on MARS 4.5: Develop a program that

Please input first word: Knight (or KnIGhT, knight, ..) Please input second word: UCF (or ucf, UcF,... KNIGHT: 6 UCF: 3

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!