Answered step by step
Verified Expert Solution
Link Copied!

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.image text in transcribed

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 Sunday

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data And Information Quality Dimensions, Principles And Techniques

Authors: Carlo Batini, Monica Scannapieco

1st Edition

3319241060, 9783319241067

More Books

Students also viewed these Databases questions