The local power company has three different pay periods. Some workers are paid via the job, some are paid weekly, and others are paid only once a month. The accounts payable department has had a horrific time paying all of these by hand and trying to ensure that the appropriate pay goes to the appropriate employee. The accounts payable department has asked HR to have a program created that allows them to input the name of the employee and have the program showcase the employee's pay. In order to do this, your program will have to draw on an external database or stylesheet to populate the data. Assume this has already been done for you. You must have a button to import the data. You should then have a text box for input of the employee name. The third button should then populate the pay field based upon the name.
We should assume our program has two TextBox (TextBox1 and TextBox2) and one catch component (Button1). The client enters the Employee name in TextBox1 and afterward click Button1 to compute pay. Pay is shown in TextBox2.
Pseudocode:
On Click function of Button1:
1. Dole out content/substance of TextBox1 into a variable emp
2. Utilize variable emp to get pay information of the worker from outside data set/spreadsheet
3. Playout any vital estimation on the information recovered (whenever needed) to conclude pay
4. Show the determined compensation in TextBox2
The flowchart and test UI (in light of windows) are given beneath:NOTE
Get Answers For Free
Most questions answered within 1 hours.