Write an assembly program to read three numbers


1. Write an Assembly program that reads in a number of cents. The program will write out the number of dollars and cents separately. 

Sample Run:
? 324
3
24

2. Write an Assembly program to read three numbers in from the user, and output BOTH the sum and the product of the three numbers. 

Sample Run:
? 2
? 3
? 4
9
24

3. Write an Assembly program to determine the cost for a group to attend a movie. Tickets are $6 for children and $8 for adults. Read in the number of children and the number of adults, and display the total movie cost.

Sample Run:
? 2
? 1
20


4. Write an Assembly program to compute a person's gas mileage. Prompt for the beginning mileage, ending mileage, and the number of gallons (to the nearest tenth) it took to fill the car. Compute the gas mileage (whole miles per gallon). 

Sample Run:
? 32000
? 32250
? 10
25

Request for Solution File

Ask an Expert for Answer!!
Assembly Language: Write an assembly program to read three numbers
Reference No:- TGS0131231

Expected delivery within 24 Hours