Question: NOTE: Submit your solutions on BlackBoard in the assignments area for Exam 1, Part 3. Your submission must in a readable form, in .asm format.

NOTE: Submit your solutions on BlackBoard in the assignments area for Exam 1, Part 3. Your submission must in a readable form, in .asm format. It is recommended MARS be used to implement and test your code as that is what I will be using in this class, although you are welcome to use another editor or IDE if you so choose. Exercise 1 (40 pts) The bakers have taken over! They prefer the number 13 (baker's dozen), so made a decree banning all positive integers that are multiples of 12. In this program, your code must do the following (match the input and output formats as shown in the provided C code): 1. Prompt the user to enter the number N of integers to follow 2. Call a function that takes the number N as an argument 3. In the function, loop N times. In each iteration, prompt for a positive integer. If that integer modulo 12 is equal to 0, print that the number is banned. Otherwise, print that the number is safe. 4. Your program must print an error message if the user's input is not a positive integer
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
