Question
Please help me with MIPS code. Screenshot is possible. You are to write a MIPS program that takes as input a string of text and
Please help me with MIPS code. Screenshot is possible.
You are to write a MIPS program that takes as input a string of text and then does the following.
Prints the input string
Capitalizes and prints the capitalized string.
You can assume that the string input is comprised of words consisting of keyboard alphabetic characters, with each word separated by a single space character, and with each word beginning with an alphabetical character. The program should be able to handle strings up to 127 characters in length. No characters other than lowercase letters should be modified. In other words, the input string may have some of its letters already capitalized. Use properties of the ASCII code, and in particular the manner in which characters are represented, to solve this problem! As a working example, given the input string "this is A StrinG", the printed capitalized output should be "THIS IS A STRING".
Step 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