Salary Works Department for use in a workplace, employees' salaries and to calculate the income tax cuts, the minimum number of net salary payments using money to make and required a program to get some statistical information. For this program the following data will be entered for each employee in the workplace:

 Personnel number (integer greater than 0, enter 0 or a negative value indicates that data entry is over.)
 Gross salary (the real number, the minimum wage can not be low, the current gross minimum wage is £ 760.50.)
 Marital status (m / M: married, s / S: single, w / W: widow)
 Number of children (bekarsa this data entry should be made)
£ 50 for those married employees' gross salaries, family allowances, for those children in the 1 £ 30 for children, 2 £ 25 for children, 3 £ 20 for each child and other children in child support payments are added to the 15 £.
Income tax deduction, the total gross salaries of employees applied rates are as follows:
 Total gross salary or $ 1,000 for those under?
 Total gross salary from £ 1000 high, 2000 for those who are at or below £
 Total gross salary from £ 2000 high, 3000% for those who are at or below £
 Total gross salary higher than 0 for 3000 £

Accordingly, each employee be printed to the screen by calculating the following information:
 the total gross salary (£)
 income tax withholding (£)
 net salary (£)
 using the net salary payment of money for a minimum number of 200, 100, 50, 20, 10, 5, and £ 1 coins worth how many of each as needed (the amount of wages paid, the net salary rounded to the nearest whole number.)
After the data entry for all employees listed in the following statistical information:
 All employees' average monthly gross salary (£)
 All employees are paid a monthly total amount of net wages (£)
 The number of employees net salary under $ 1,000
 All employees using the net cash payment of salary for one month for a minimum number of 200, 100, 50, 20, 10, 5, and £ 1 coins worth how many of each should be
 The average individual income tax for each income tax rate cuts (£)
 the employee's personnel number with the highest net salary, net salary (£) and income tax withholding (£)
 the employee's personnel number with the highest income tax withholding, a net salary (TL) and income tax withholding (£)
 He is married, unmarried and widows, and the number of employees in the percentage of all employees
 He is married and the widow of the employees taken into account, the average number of children per person
 The number of workers with more than 3 children

Recommended Answers

All 4 Replies

Nice instructions -- but what do you want to know about them? I hope you don't want anyone to write the program for you because we don't do that.

i want to learn how i can use loop instructions in this

>>Personnel number (integer greater than 0, enter 0 or a negative value indicates that data entry is over.)

That tells you to create a loop that runs until you enter a value <= 0

int PersonnelNumber = 1;
while( PersonnelNumber > 0)
{
   // do things here

}

thnx :) im so pleased :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.