Pascal Assignments

File names are in the format AxPy.PAS where x is the assignment number and y is the program number since some assignments required multiple programs.

Filename Size Description
A1P1.PAS 507 Gets a number from the user and doubles it!!!
A1P2.PAS 954 Calculates cost of a car trip based on miles driven, price of gas, and fuel efficiency of car
A1P3.PAS 1287 Calculates the number of cans of soda a person can drink if the soda has a small amount of toxic substance in it
A2P1.PAS 1743 Gets a user defined number of test scores from user and tells them how many passed and how many failed.
A2P2.PAS 2494 Calculates an employee's pay based on hours worked, hourly pay, tax rate, etc.
There's no assignment 3...hmmmm
A4P1.PAS 2831 Calculates a user's bill and then tells them how much change they get broken down into $20s, $10s, $5s, $1s, .25s, .10s, .05s, and .01s.
A5P1.PAS 3849 Get a date from user and print that date's horoscope and also the other horoscope if its within 2 days of it.
A6P1.ZIP 878 A unit with functions/procedures to see if a number is prime, add the numbers digits, see if a number is divisible by another, and finds the square root.
A7P1.PAS 5915 An airplane seat reservation program that gets a row and column from the user and marks it reserved unless it's already reserved. Quits when plane is full or they press 'q'.
A8.ZIP 10628 A dating program that gets information about a user and then searches a data file for the best match.


©1997 -sparhawk-:[Home]