Answered step by step
Verified Expert Solution
Question
1 Approved Answer
ir 13 - A A Aa- Pol EEEEALT ab x x A.D.A. AaBbCD AaBb C AaBbcc AaBbcc AaBbcc AaBbc 1 Caption T Heading Index T
ir 13 - A A Aa- Pol EEEEALT ab x x A.D.A. AaBbCD AaBb C AaBbcc AaBbcc AaBbcc AaBbc 1 Caption T Heading Index T Normal T No Spac... Heading 1 e Find Go Reple ht Selec Font Paragraph Styles Editing Instructions Create a MIPS program that fulfills the following specifications: in the data section: o 3 variables to hold input values: a, b,c O 3 variables to hold output values (name them whatever you like) o a variable to hold the user's name o 3 variables for messages: A prompt for name A prompt for integers A message for results (similar to the sample run below) in the text section write instructions to: o prompt the user for their name and save it in memory o 3 times: prompt user for an integer between 1-100 . read and store the integers in a, b, and c no input checking required o calculate ans1 = 2a -b + 9 (use ata for 2a) and store the result o calculate ans2 = C-b+ (a-5) and store the result o calculate ans 3 = (a - 3) + (b + 4)-(c + 7) and store the result o display the user name and message for results o display the 3 results but print a space character in between for readability at the bottom of your program, add comments with test values for a, b, c and the results you expect from the program for ans1, ans 2 ans 3 (see sample run below). Show at least 2 sample runs. What to turn in: o e O * 5 p v @noha
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