Hello world!
I am having a hard time dealing with a 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.
Now my problem is that I am not allowed to use Iterative constructs/functions. I am also not allowed to use function calls, strings, arrays, pointers, and the likes. I can only use the basic printf/scanf functions, variable declarations and the conditional statements(if-else and switch), plus the #define. No more. Another problem is that I don't know where to store the input values and how to print the table out.
Please help me.
I really hope you can help me with this.