Pep 8 programming project. Sorting program.

SORT program

The desired program will run under Windows with the 811 beta version PEP 368.

Following a request from the user (explaining the mode of operation) you need to display in ascending part the numbers entered.

Validation rules:

1) At the input, you should ask only one question to the user: please enter one or more part numbers?

2) A part number is composed of a date (YYMMDD), followed by a dash followed

a value of 1 or 2 digits. (ex: 091217-12)


AA: 00 to 99

MM: 01 to 12,

DD: 01 to 31

The date must be valid.

The years from 80 to 99 belong to the past century;

So the 99 years preceding the year 00 (1999 <2000).

3) The input data contain between 1 and 5 part numbers.

4) The error message is "Entree invalide".

You must run your program on the 5 following tests:

-------------------------------------------------- ---------------------






This program needs to be user-friendly. The user will be able to run it without instruction manual. On the display will appear: a question, the user data and results.

Under the results section, the part numbers will be presented in ascending order of length, then values and then dates (990101 above 000101).

Test result 1:

-> 080220-12 -> 090909-12 -> 091010-12 -> 091030-12 -> 091125-12

The process will continue as long as the user does not enter a period (one position).

At that time, the program will stop with a message of termination.

You MUST keep the part numbers in a linked (chained) list.

Test result 2:

-> 090201-1 -> 090201-2 -> 090201-01 -> 090201-12 -> 090201-21

You will submit the following files:

-The source file [url removed, login to view] (tri in French means sort)

-The results [url removed, login to view] file containing only the 5 tests above

in the same order.

In addition to the 5 compulsory tests previously mentioned, the TRI program

will work with any data.

Habilidades: Montagem, Engenharia, Microsoft, MySQL, PHP, Gestão de projetos, Arquitetura de software, Teste de Software, Área de trabalho do Windows

Ver mais: windows 8 programming, sorting of data, programming question in c, programming process, programming number, programming instruction, programming error, php programming test, n version programming, number programming, c programming linked list, c programming continue, beta programming, programming tests, part time input data, project in french, pep, operation manual, instruction manual, chained, project user friendly, program linked list, program needs, list ascending, sorting data

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

ID do Projeto: #2987162

2 freelancers are bidding on average $11 for this job


See private message.

$12.75 USD in 9 dias
(5 Comentários)

See private message.

$8.5 USD in 9 dias
(0 Comentários)