i need help in my assignment,iam new at VB.NET

A company pays its employees as managers (who received a fixed weekly salary),hourly workers (who received a fixed hourly wage for up to the first 40 hours they work and "time and half"-i.e 1.5 times their hourly wage- for overtime hours worked), commisioned workers(who received shillings 250,000 plus 5.7% of their gross weekly hours)or pieceworkers (work received a fixed amount of money per item they produce-each piece worker in this company works only one type of time). Write a program to compute the weekly pay for each employee. You do not know the number of employees in advance. Each type of employee has his own pay code. The pay roll clerk should enter the appropriate facts that your program needs to calculate each employee's pay based on that employee's pay code.

Hints and suggestions
.You should allow the user to enter as many values as possible. This can be attained by providing an interface that picks the appropriate values and stores them in a multi-dimensional array.
Calculations can then be done on each value and the output displayed using a multi-line textbox.

Design an algorithm for the aplication.

Requirements;
*Use standard pseudo code. You can define any other words used.
*Clearly outline the processes you followed to develop your algorithms.
*Provide evidence of its correctness and completeness using trace tables.

Comments

  • : A company pays its employees as managers (who received a fixed
    : weekly salary),hourly workers (who received a fixed hourly wage for
    : up to the first 40 hours they work and "time and half"-i.e 1.5 times
    : their hourly wage- for overtime hours worked), commisioned
    : workers(who received shillings 250,000 plus 5.7% of their gross
    : weekly hours)or pieceworkers (work received a fixed amount of money
    : per item they produce-each piece worker in this company works only
    : one type of time). Write a program to compute the weekly pay for
    : each employee. You do not know the number of employees in advance.
    : Each type of employee has his own pay code. The pay roll clerk
    : should enter the appropriate facts that your program needs to
    : calculate each employee's pay based on that employee's pay code.
    :
    : Hints and suggestions
    : .You should allow the user to enter as many values as possible. This
    : can be attained by providing an interface that picks the appropriate
    : values and stores them in a multi-dimensional array.
    : Calculations can then be done on each value and the output displayed
    : using a multi-line textbox.
    :
    : Design an algorithm for the aplication.
    :
    : Requirements;
    : *Use standard pseudo code. You can define any other words used.
    : *Clearly outline the processes you followed to develop your
    : algorithms.
    : *Provide evidence of its correctness and completeness using trace
    : tables.
    :

    Wow, this is almost exactly like the problem in my book. I will give you a couple of hints, there must be at least two constants: one for the employee that did not work over 40 hours and ones who did. You also must compile equations for both of these.

    Once you decide what your read statement will be, I think you'll have to create at least two IF THEN statements in order to complete the steps.
    Once you have those then you may go from there. Are you creating this problem for console or windows?

    I am not all that experinced either, but drawing flowcharts and hierarchy charts is always a HUGE help. My favorite teacher suggested you draw a print chart, flowchart, hierarchy chart, and pseudocode for every app. Needless to say, these kind of steps help emencly.

    Sorry, sometimes I just like to hear myself type. :/




Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion