Em Andamento

Grades Program

I am a student in a C++ class. I am now getting a little lost and need help with the the following lab and project. Lab 10 http:/[url removed, login to view] Project 8 http:/[url removed, login to view]

## Deliverables

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

2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request.

3) Exclusive and complete copyrights to all work purchased. (No GPL, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site).

In this lab you will be working with two dimensional arrays and nested loops. The lab introduces the database technique of "parallel arrays". The lab works with a simple student database system. The data you store and manipulate is a listing of student names, their grades on quizes, and their averages and final grades. -------------------------------------------------------------------------------- Part A: Assume: const int maxnstuds = 20; const int maxngrades = 10; have been declared. Write a program which, so long as the user wishes to do so: 1) prompt the user to input: nstudents <= maxnstuds and ngrades <=maxngrades Once these integers are read in and verified as being in bounds, 2) Prompt the user for the nstudents names, and store these in an array of strings. The user should be prompted separately for first name, middle initial, and last name. These should be concatenated and stored as a single name. The declaration for name should look like: string name [maxnstuds] = { "" }; and should appear in the "while you wish to use the program" loop. 3) For each student, prompt the user for his/her ngrades successively. The declaration for grades should look like: double grades[maxnstuds][maxngrades] = { {0} }; and should appear in the "while you wish to use the program" loop. 4) Once the data has been entered, for each student compute his average, and store this in an array of doubles, average. As above, student i will have his average in element i of the array ave. The declaration for average should look like: double average [maxnstuds] = { 0 }; and should appear in the "while you wish to use the program" loop. 5) Using the standard A through F grading cutoffs, assign letter grades to each student. Store these in a char array finalgrade. As above, student i will have his final grade in element i of the array finalgrade. The declaration for finalgrade should look like: char finalgrade[maxnstuds] = { '\0' }; and should appear in the "while you wish to use the program" loop. 6) Print out a summary table of names, grades, and average, and final letter grade. This table should be nicely formatted. 7) Try again? -------------------------------------------------------------------------------- Part C: Now, we will allow the user to read in the names, grades, and then compute the averages. (Just as before, either from standard input, or a plain text input file.) After computing the averages, make a backup copy of this array, and sort it into decreasing order using the technique known as SELECTION sort (not Bubble sort). Also, compute the average ave, and the max. and min. averages. Display the max. ave, the min. ave, and the average ave, and then display the sorted averages. Now prompt the user for grade cutoffs: 100 > ABcut > BCcut > CDcut > DFcut > 0 These should be declared as doubles. If the cutoffs are not in the required order reprompt for the cutoffs until the user gets it correct. Based on these values of grade cutoffs, assign grades to the students, and output the results to whatever the user chose (standard output, or a plain text output file).

## Platform

My machine runs Windows XP home edition I use Microsoft Visual C++ 6.0 as a compiler

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

Ver mais: working from home data input, work from home program, while loop c programming, two dimensional table database, strings in c programming, strings for c standard, sort bubble, sort array c, programming technique, programming loops, programming loop, parallel programming in c, need help with my programming project, need help to write a letter, loops programming, loops in programming, loop programming, integers form 1, html 5 edition+, html 5 compiler, grade 10 c# programming, first lab, element 14, double programming, double in c programming

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

ID do Projeto: #3023016

Premiar a:

SKDevelopment

See private message.

$16.95 USD em 3 dias
(23 Avaliações)
5.9

12 freelancers estão ofertando em média $21 para este trabalho

bogdanstan

See private message.

$15.3 USD in 3 dias
(190 Comentários)
5.7
Gr8Coders

See private message.

$17 USD in 3 dias
(51 Comentários)
4.9
devicode

See private message.

$25.5 USD in 3 dias
(69 Comentários)
4.7
lmxvw

See private message.

$20.4 USD in 3 dias
(126 Comentários)
4.6
herculesevw

See private message.

$47.6 USD in 3 dias
(78 Comentários)
4.6
RitchieM

See private message.

$16.15 USD in 3 dias
(17 Comentários)
4.2
obisoft

See private message.

$17 USD in 3 dias
(6 Comentários)
3.7
always99vw

See private message.

$17 USD in 3 dias
(22 Comentários)
3.4
jessewhite

See private message.

$17 USD in 3 dias
(5 Comentários)
3.2
borninleningrad

See private message.

$30 USD in 3 dias
(5 Comentários)
2.9
uifaleanadrian

See private message.

$12.75 USD in 3 dias
(0 Comentários)
0.0
unicodervw

See private message.

$21.25 USD in 3 dias
(0 Comentários)
0.0