Question: write a MIPS program that analyzes a string. Ask a user to enter a string (sentence or paragraph of their choice). You may assume that

write a MIPS program that analyzes a string.

Ask a user to enter a string (sentence or paragraph of their choice). You may assume that the string will not be longer than 100 characters.

Print the string ( to screen), or print an appropriate error message if the string is empty Print a table showing the following information about the string:

the number of characters

the number of words

the number of sentences

the number of uppercase letters

the number of lowercase letters

the number of spaces

the number of punctuation marks

I use mars4.5 to do mips

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!