Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Need some help in motorola 68k assembly language. I know how to do the first part with printing out the assignment, name and account number,
Need some help in motorola 68k assembly language. I know how to do the first part with printing out the assignment, name and account number, as well as how to prompt the user to enter two digits. i need some assistance with the second part taking the second digit and counting forward that many times and printing out the corresponding day of the week. Please, Thank you.
1) First, the program will print the programming assignment number, your name, and your class account, all on one line. Then your program will prompt the user to enter two numbers separated by a space. The first number will be a single digit number 1-7. The second number will be a 2 digit number 01-20. You must use the example text provided below in your prompts and answers. Your program will interpret the first number as a day of the week (1-Monday, 2- Tuesday... 7-Sunday). The second number is the number of days to count forward. Your program will then print the resulting day as a string. Example 1: Program #1, Student Name, csscXXXX Enter the start day [1-7] and the number to add [01-20]: 3 04 That day is Sunday. 1) First, the program will print the programming assignment number, your name, and your class account, all on one line. Then your program will prompt the user to enter two numbers separated by a space. The first number will be a single digit number 1-7. The second number will be a 2 digit number 01-20. You must use the example text provided below in your prompts and answers. Your program will interpret the first number as a day of the week (1-Monday, 2- Tuesday... 7-Sunday). The second number is the number of days to count forward. Your program will then print the resulting day as a string. Example 1: Program #1, Student Name, csscXXXX Enter the start day [1-7] and the number to add [01-20]: 3 04 That day is SundayStep 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