Java and Visual Basic Examples

Some simple Java and VB examples from school in 2003.

Programming Examples from 2003 at Skagit Valley College. These are not compiled programs but are otherwise complete. Nothing fancy, just stuff I did for school a long time ago.

Java

Average – Calculates the average of a set of numbers.

Circle – Calculates the attributes of a circle, given two points.

Maturity – Calculates the amount of a certificate of deposit on maturity.

Paycheck – Collects name and income and calculates taxes.

Sum – Retrieves integers from a file and sums the odd and even.

 

Visual Basic

Gas Mileage – Calculates gas mileage.

Student Scores – Provides various search options on a list of students and scores.

 

Leave a Reply