Færdiggjort

4-in-1

Very easy 4-in-1 projects

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. *.cpp code to be returned to buyer, using Beginner C++ coding.

#1) Write a program that inputs a five-digit number, separates the number into its individual digits and prints the digits separated from one another by three spaces each. (Hint: use the integer division division (/) and modulus (%) operators. For example, if the user types in 42339, the program should print:

4 2 3 3 9

#2) Write a program that calculates and prints the product of the odd integers from 1 through 19. (Hint: Use For Loop incremented in counter of plus 2)

#3) Write a program that calculates the factorial of a positive integer n (written n! and pronounced "n factorial"). What is the largest integer that you can calculate the factorial for if the integer is of int data type? Print out your results including that integer value where incorrect results may start. (Buyer will do this)

#4) A company pays its employees as "managers" (who receive a fixed weekly salary), "hourly workers" (who receive a fixed hourly wage for up to the first 40 hours they work and "time-and-a-half" or 1.5 times their hourly work for overtime worked over 40 hours), "commission" workers (who receive $250 plus 5.7% of their gross weekly sales), or "pieceworkers" (who receive a fixed amount of money per item for each of the items they produce - each worker works on only one type of item). 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 its own pay code: Managers have pay code 1, hourly workers have pay code 2, commission workers have code 3, and pieceworkers have code 4. Use a "switch(case)" structure to contol the computation of each employees pay based on that employees pay code. Within the switch, prompt the user (ie, the payroll clerk) to enter the appropriate facts your program needs to calculate each employees pay based on that employee's pay code. Enter at least one test run for each type employee.

## Platform

C++ on Windows 2000

## Deadline information

Must be completed by 11/02/2002.

*.cpp file to be delivered.

This is a Beginner's C++ class.

Evner: C programmering, Ingeniørarbejde, Microsoft, MySQL, PHP, Software Arkitektur, Software Testning, Web Hosting, Hjemmeside Management, Hjemmeside Testning, Windows Skrivebord

Se mere: what is your salary, what is structure in cpp, what is data structure in c, what is data in data structure, what is a data structure in c, wage works, types data structure, type of data structure in c, the payroll company, sales commission structure, print out source, payroll 1, largest number, integers form 1, file clerk, data structure using cpp, data structure types, data structure coding, data cpp, data clerk salary

Om arbejdsgiveren:
( 14 bedømmelser ) United States

Projekt ID: #2880466

Tildelt til:

carlockj

See private message.

$7 USD in 14 dage
(7 bedømmelser)
1.2

4 freelancere byder i gennemsnit $10 på dette job

herculesevw

See private message.

$5.02 USD in 14 dage
(79 bedømmelser)
4.7
fabianjones

See private message.

$3.4 USD in 14 dage
(20 bedømmelser)
3.3
phluidvw

See private message.

$25.5 USD in 14 dage
(0 bedømmelser)
0.0