Jake Rietow

Greenhorn
+ Follow
since Apr 12, 2013
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Jake Rietow

Create a mini user information management system that asks the user to enter an employee's first name, last name, and salary. When the user clicks on a Confirm button, the information entered will be displayed to the user cummulatively. E.g. if the user enters the first employee, and clicks on the button, one employee information will be displayed. If the user enters another employee and clicks on the button, the information for two employees will be displayed. Hint: you will need to create three arrays and assign values to them.

Things to think about before you start:
1. Why do we need three arrays?
2. How to use three arrays to store information?
3. How to make the arrays keep the previous information between button clicks?
4. How to retrieve all the information when the button is clicked?
5. How to make sure the information for each employee is correct? i.e. the first name, last name and the salary for an employee is correct (no cross reference).

These are the directions that I have. This is the code I've tried to do. I can get the first employee to display, but I'm not sure how to create the loop which allows me to add in more users. Any help would be greatly appreciated. Thanks!
11 years ago