Question: Write an x 8 6 - 6 4 Architecture Assembly Language program that implements the following specifications. prompt the user for a number ( recall
Write an x Architecture Assembly Language program that implements the following specifications.
prompt the user for a number recall the use of printf and scanf
use a loop to print the word "hello" as many times as the user entered
there is one exception, if they are on an iteration of the loop that is divisible by instead print "hello, there"
count the number of times "hello, there" is printed using a counter
after exiting the loop, print the number of "hello, there"s that were printed
For example, if the user enters the number the following would be the output:
hello
hello
hello
hello
hello, there
hello
hello
hello
hello
hello, there
hello
hello
hello
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
