subject

Write a mips assembly language program that accomplishes the following tasks: the program will prompt the user to enter an integer k between 1 and 10. if the entered k is out of range just have the program exit. depending on the k value implement the following cases: case 1: if 1 < = k < 5 have n (n> = 0) be prompted from the user. compute func(n): if (n = 0 or n = 1) then func(n) = 20 else func(n) = 5*func(n-2) + n; display a result_message together with the numeric value of the result. repeat (meaning prompt the user for n)case 2: if 5 < = k < = 10 display a joke. your program should be well documented with comments. your console output should include prompts for the user.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 03:00
Which action describes an aspect of technological design?
Answers: 1
question
Computers and Technology, 23.06.2019 07:00
What are three software programs for mobile computing?
Answers: 1
question
Computers and Technology, 23.06.2019 21:30
Which of the following includes the three primary network access technologies? dsl, cable modem, broadband lan, wan, man voip, uc, iptv tcp/ip, ftp, dhcp
Answers: 2
question
Computers and Technology, 23.06.2019 21:30
Enzo’s balance sheet for the month of july is shown. enzo’s balance sheet (july 2013) assets liabilities cash $600 credit card $4,000 investments $500 student loan $2,500 house $120,000 mortgage $80,000 car $6,000 car loan $2,000 total $127,100 total $88,500 which expression finds enzo’s net worth?
Answers: 1
You know the right answer?
Write a mips assembly language program that accomplishes the following tasks: the program will promp...
Questions
Questions on the website: 13722363