Question: write two assembly programs to solve the any two question from the following exercises Loop Exercises - 1 . docx darr Minimize File Preview Exercises

write two assembly programs to solve the any two question from the following exercises
Loop Exercises-1.docx darr
Minimize File Preview
Exercises
Pennies for Pay
Write a program that calculates how much a person earns in a month if the salary is one penny the first
day, two pennies the second day, four pennies the third day, and so on with the daily pay doubling each
day the employee works. The program should ask the user for the number of days the employee worked
during the month, validate that it is between 1 and 31, and then display a table showing how much the
salary was for each day worked, as well as the total pay earned for the month. The output should be
displayed in pennies points, not in pennies.
Weight Loss
If moderately active persons cut their calorie intake by 500 calories a day, they can typically lose about 4
pounds a month. Write a program that has the users enter their starting weight and then creates and
displays a table showing what their expected weight will be at the end of each month for the next 6
months if they stay on this diet.
Calories Burned
Running on a particular treadmill, you burn 4 calories per minute. Write a program that uses a loop to
display the number of calories burned after 5,10,15,20,25, and 30 minutes.
write two assembly programs to solve the any two

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!