Tuesday, May 3, 2011

ABCCompany.java

Past Year CSC238 Oct 2010 Part B Question 5

Write a complete program to perform the following:
Read the data from the file named "Employee. t x t " .
Determine the employee status based on the following table

Employee Status Number of year services
Junior                   < 10
Senior                   >=10

Store the employee name and current salary into an output file named
"Junior. t x t " for junior employee and "Senior. t x t " for senior employee.
Calculate the new salary for each of the employee by using the following formula:
New salary = current salary + (current salary x (percent salary increase/100))
Store the employee name and their new salary into an output file named
"EmployeeUpdate. txt".
Use exception handling operations to deal with the file input-output errors.

Wednesday, April 20, 2011

SwkBowlingCenter.java

Peace be upon you. Being a really long time I didn't post my programming. I am worried I might get rusty after this. I promise God I should spend time in my own field at least once if I am still alive in the semester break.

This is just an assignment from my class. Just thought that I have finally tried GUI. I am quite interested in learning Visual Basic, but I don't have that much opportunity when I lose my laptop battery. Hope I can exchange that with a heaven or two =D

Image link