I am having a hard time dealing with my machine problem. The problem requires me to create a program that will enable the user to input the number of employees of a certain company. After that, the program must ask the user to input the data of each employee(Employee Number, Hours of Work, and Employee type--permanent or temporary). It will do the loop until all of the employees' data are stored. Then the program must compute for their salaries and display it on the screen in table format.
Okay, this is the trick. We are now allowed to use iterative functions and function calls. My problem now is how can i store the values in variables for the data of each employee. The maximum number of employees is 20. And we are not allowed to use arrays, strings, pointers, structs and the likes.
Another problem would be how can i print the table out?
Thanks for the people who replied on my last post, especially "mats".
I hope you can help me with this.