Encerrado

Simple Personel Database

This is to be written in C and needs to use scanf, fscanf, printf, and fscanf where applicable. Should be simple but needs to be done no later than Monday Sept. 15th Here are the reqirements:

You are to implement an array that holds records (i.e. struct’s) with people’s names and income in dollars (rounded to the nearest dollar). The data should come from a data file that has its name passed as a command-line parameter. The file will have the following format:

<action-char> <last-name-string> <first-name-string><income>

where <action-char> is a single letter code:

‘a’ - add a record

‘p’ - print the income for a specified person (still read the dummy income data, but ignore it)

‘P’ - print all the records in income order from highest to lowest. This requires that you keep the array sorted (for this action char, still read both the name and income data, but ignore

them).

<last-name-string> and <first-name-string> are up to 25 characters long.

<income> is an integer

To keep the array sorted, please use Insertion Sort

You can produce your own test file to start with and you will be provided with an official data file that tests all of the possibilities for bad input (such as, ‘p’ where the person is not found, ‘a’ attempting to add a person that’s already there).

This needs to be compiled in gcc.

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

## Platform

Written in C and compiled in gcc.

Habilidades: Programação C, Engenharia, MySQL, PHP, Arquitetura de software, Teste de Software

Ver mais: working insertion sort, struct programming, sort array, simple file database, simple dollar, scanf programming, printf programming, letter bad, programming scanf, programming printf, programming fscanf, programming char, command line programming, char programming, bad programming, bad letter, programming tests, integer programming, gcc, command line print file, command line print, dummy insertion, command line parameter, string integer, simple array program

Acerca do Empregador:
( 3 comentários ) United States

ID do Projeto: #2973486

25 freelancers estão ofertando em média $33 para este trabalho

slimbvw

See private message.

$42.5 USD in 4 dias
(158 Comentários)
7.5
mziconsultinginc

See private message.

$17 USD in 4 dias
(84 Comentários)
6.3
mihaiscortaru

See private message.

$42.49 USD in 4 dias
(160 Comentários)
6.0
emilianbold

See private message.

$8.5 USD in 4 dias
(77 Comentários)
5.8
srazakvw

See private message.

$17 USD in 4 dias
(35 Comentários)
5.0
belgradeteam

See private message.

$21.25 USD in 4 dias
(38 Comentários)
5.0
vw821235vw

See private message.

$15.3 USD in 4 dias
(94 Comentários)
4.3
vw945703vw

See private message.

$21.25 USD in 4 dias
(22 Comentários)
4.2
techfortsystems

See private message.

$51 USD in 4 dias
(9 Comentários)
4.3
teamvw

See private message.

$12.75 USD in 4 dias
(36 Comentários)
3.8
shashikhanvw

See private message.

$340 USD in 4 dias
(15 Comentários)
3.8
esystemsengvw

See private message.

$29.75 USD in 4 dias
(12 Comentários)
4.0
lonapz

See private message.

$18.7 USD in 4 dias
(10 Comentários)
2.8
ciphereye

See private message.

$11.05 USD in 4 dias
(16 Comentários)
2.7
laurencewithers

See private message.

$17 USD in 4 dias
(4 Comentários)
2.4
aoavw

See private message.

$9.35 USD in 4 dias
(8 Comentários)
1.8
vw914040vw

See private message.

$5.1 USD in 4 dias
(16 Comentários)
1.6
tasmithvw

See private message.

$19.55 USD in 4 dias
(3 Comentários)
1.5
bodanb

See private message.

$8.5 USD in 4 dias
(3 Comentários)
0.0
windowscodervw

See private message.

$4.25 USD in 4 dias
(1 Comentário)
0.0