cpp

C++

PROJECT5.CPP

written: 10 Nov 2001

Rational Number Operations:

Using classes, this program takes two rational numbers and performs various operations on them.

ASSIGN6.CPP

written: 25 Nov 2001

Stack Operations:

Using stack operations "push" and "pop" this program evaluates a "postfix" expression and then displays it in "infix" form.

Example: Postfix is 2 2 + = 4,

Infix is 2 + 2 = 4

ASSIGN2.CPP

written: 15 Sep 2001

Displays Julian Date:

User enters any day from any year A.D. and the program will display the Julian date and let you know if that year was a leap year.

Example: 02/14/2001 is day 45.

(Extensive use of functions in this program)

PROJECT3.CPP

written: 30 Sep 2001

Retrieves a list of up to 100 integers and puts them in numerical order using a "bucket sort.":

An assignment in using arrays to manipulate data. It will take any random set of positive integers and display them as five columns in numerical order. Like all the other recent programs, and every one I will write later, this one uses functions.

PROJECT4.CPP

written: 16 Oct 2001

Pointer Exercise:

Using pointers, this program reads words from a text file, puts them into an array, and then stores them in a text file without storing any duplicates. This is done via character by character manipulation.

Example: "This is a new program. This is hard." would come out as "This is a new program. hard."

PROGRAM1.CPP

written: 2 Sep 2001

Determining Student Grades:

Determines a student's grade after adding up all his points and removing the lowest test score and the two lowest exercise scores.

CURRENCY CONVERSION.CPP

written: 13 Sep 2001

Displays Exchange Rates & Calculates Foreign Currency Values in USD:

Displays the exchange rates for five currencies as of 2 Sep 2001 and allows user to select one of those currencies and enter an amount for exchange. Also allows user to enter exchange rate for non-displayed currency.

(Extensive use of functions in this program)

INTEREST.CPP

written: 9 Jun 2001

Calculating Compound Interest:

This program tells the user how much money

he would have if he deposited a sum of

money let and it grow for x years at y%, and how much he would have if he deposited the same amount every year thereafter.