There are 2 simple assignments. Can you do this in the Assembly language?
Project 1
A Shipping company uses the following function to display the flat rate cost (in dollars) of shipping based on the weight of a package (in pounds).
Cost function c(w) Cost Weight
$3.5 0 < w < = 1
$5.5 1 < w <= 3
$8.5 3 < w <= 10
$10.5 10 < w <= 20
Can’t be shipped 20 < w
Write an Assemby program that prompts the user to enter the weight of the package and display the shipping cost. If the weight is greater than 20 pounds, display the following message, “the package cannot be shipped.”
You can use any Pep/9. I recommend that you provide the output as a string.
(Links to an external site.)
https://www.youtube.com/watch?v=1VAcZr2wQzo
(Links to an external site.)
https://www.youtube.com/watch?v=BpJCAafw2qE
(Links to an external site.)
Design:
Code:
Output:
Project 2
Suppose that the tuition for a university is $1,000 this year and increases 4% every year. In one year, the tuition will be $1,040. Write a program using for loop that computes the tuition in ten years and the total cost of four years’ worth of tuition after the tenth year.
Use Pep/9.
Design:
Code:
Output:
PEP/9 Resources:
https://github.com/jcink/pep8/blob/master/divide.pep
(Links to an external site.)
https://www.cslab.pepperdine.edu/warford/cosc330/Pep9-Reference.pdf
(Links to an external site.)
https://www.youtube.com/watch?v=nCzVw5p7hRo
DescriptionIn this final assignment, the students will demonstrate their ability to apply two ma
Path finding involves finding a path from A to B. Typically we want the path to have certain properties,such as being the shortest or to avoid going t
Develop a program to emulate a purchase transaction at a retail store. Thisprogram will have two classes, a LineItem class and a Transaction class. Th
1 Project 1 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of
1 Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of