Skip to content

Ticketing system written in MIPS asm. Program takes in user input ages and then calculates a total price for all attendees

Notifications You must be signed in to change notification settings

Cole-Z/ASM-Ticketing-System-MIPS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Final Project: Asm ticketing program

Description

This is a simple ticketing system. User/User's will enter their 'age' and a ticket price will be generated.

ticket prices

Adult: $10.00 , Child/Youth: $9.00 , Seniors: $8.50 (15% off Adult price)

Something to note, if only children or youth ages are entered, such as 16, 17, 15, then an additional 'Adult ticket' will be added to the total since children cannot attend without an adult.

Functionality

Enter one age at a time to keep while loop running.

To exit the ticketing system, enter '-1' to exit the loop and print the total price.

Image of output

image

Emulator

Program is able to run on the MARS and QtSpim emulators for MIPS.

About

Ticketing system written in MIPS asm. Program takes in user input ages and then calculates a total price for all attendees

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published