MIPS Programming: Write a program that reads up to 15 temperatures into a static

MIPS Programming: Write a program that reads up to 15 temperatures into a static

MIPS Programming: Write a program that reads up to 15 temperatures into a static array, and then prints out the average temperatures to 5 decimal places using only integer commands. It will stop taking input when a -761 is entered. Valid temperatures are from -200 to 1000 degrees exclusive of the end points. It will then output the total, the count and the average to 4 decimal places using Integer Commands. It will do all the work in subprograms/functions and use to appropriate registers to pass information. There will be at least 3 subprograms. The first subprogram will receive the base address of the array and the maximum number of elements as arguments into the subprogram. It will return the number of valid elements read. The second subprogram will receive the base address of the array and the number of the valid elements as arguments into the subprogram. It will return the total of the valid elements in the array. The third subprogram will receive the total and count as arguments into the subprogram. It will output the total, count and the average to 5 decimal places or a message that there was no valid input. It will return nothing. Sample: Run 1 Enter a temp (>-200 and -200 and -200 and -200 and -200 and -200 and -200 and -200 and -200 and -200 and -200 and -200 and -200 and -200 and -200 and -200 and -200 and -200 and -200 and -200 and < +1000 degress fahrenheit) or -761 to exit: -761 The total is: -1 The count is: 2 The average temperature is: -0.50000

"96% of our customers have reported a 90% and above score. You might want to place an order with us."

Essay Writing Service
Affordable prices

You might be focused on looking for a cheap essay writing service instead of searching for the perfect combination of quality and affordable rates. You need to be aware that a cheap essay does not mean a good essay, as qualified authors estimate their knowledge realistically. At the same time, it is all about balance. We are proud to offer rates among the best on the market and believe every student must have access to effective writing assistance for a cost that he or she finds affordable.

Caring support 24/7

If you need a cheap paper writing service, note that we combine affordable rates with excellent customer support. Our experienced support managers professionally resolve issues that might appear during your collaboration with our service. Apply to them with questions about orders, rates, payments, and more. Contact our managers via our website or email.

Non-plagiarized papers

“Please, write my paper, making it 100% unique.” We understand how vital it is for students to be sure their paper is original and written from scratch. To us, the reputation of a reliable service that offers non-plagiarized texts is vital. We stop collaborating with authors who get caught in plagiarism to avoid confusion. Besides, our customers’ satisfaction rate says it all.

© 2022 Homeworkcrew.com provides writing and research services for limited use only. All the materials from our website should be used with proper references and in accordance with Terms & Conditions.

Scroll to Top