Re: Please help!



<dharajsmith@xxxxxxxxx> wrote:
)> > Here is the assignment:
)>
)> > You are an accountant setting up a payroll system for a small firm.
)> > Each line of the table in Appendix G (posted below) indicates an
)> > employee's salary range and corresponding base tax amount and tax
)> > percentage. Given a salary amount, the tax is calculated by adding the
)> > base tax for that salary range and the product of percentage of excess
)> > and the amount of salary over the minimum salary for that range.
)> > · Design a program that solves this problem.
)> > · Generate a set of input test values.
)> > · Perform a design walkthrough to verify your design.
) <snip>
)
) There's no specific language. This class is just beginning
) programming. It's called "Fundamentals of programming with algorithms
) and logic."
)
) Is this correct?
)
) <snip>

Malcolm wrote:

) No, I'm afrid you've haven't really understood.
)
) The program needs to read a table of salaries and tax rates from an input
) file.

Where do you see that in the assignment ?
You're making a simple assignment needlessly complex.
It's a 'fundamentals of programming' course, ferchrissake.

) If you are implementing in C++ unfortunately it is hard to give an answer
) because there are so may styles of C++ programming.
)
) Basically you need
)
) #define MAXBRACKET 1000

This is bad programming form in any case. Especially when using C++


SaSW, Willem
--
Disclaimer: I am in no way responsible for any of the statements
made in the above text. For all I know I might be
drugged or something..
No I'm not paranoid. You all think I'm paranoid, don't you !
#EOT
.



Relevant Pages

  • Please help!
    ... I have an assignment due tonight, ... employee's salary range and corresponding base tax amount and tax ... · Design a program that solves this problem. ... Perform a design walkthrough to verify your design. ...
    (comp.programming)
  • Re: Style: using functions/methods/procedures
    ... One guideline is to use a style call top-down programming. ... functions so you quickly move to the coding stage (almost a universal ... But in the end it is all about the assignment. ... (to have multiple routines would require ...
    (comp.programming)
  • Re: struct problems
    ... because my previous programming experience made the assignment before ... at least three programming languages by copy-pasteing. ... that you are ONLY in the scope of functions. ... GNU C and disregard the limitations of other compilers. ...
    (comp.lang.c)
  • Re: Delphi Student and Vowel Extraction Program
    ... I'm actually paying for it myself while working full time. ... Being an assignment, no one is going to give away the answers. ... I'm currently studying Delphi programming at University ... > Do you know how to append a character to a string? ...
    (alt.comp.lang.borland-delphi)
  • Re: Please help!
    ... I am not going into Programming, ... employee's salary range and corresponding base tax amount and tax ... Given a salary amount, the tax is calculated by adding the ... · Design a program that solves this problem. ...
    (comp.programming)