Find Jobs
Hire Freelancers

Arrays and sorting

$5-10 USD

Завершено
Опублікований over 20 years ago

$5-10 USD

Оплачується при отриманні
**Purpose:** To gain experience using arrays. 2**. The Problem:** Write a program to load to an array a list of up to 50 scores read from a file. Once the scores have been loaded to the array, provide the user with a menu of options: > "p" print scores in sorted in ascending order > "a" calculate and print the average value of the scores > "m" calculate and print the median value for the scores > "s" calculate and print the standard deviation of the scores > "q" quit 3. **More Details:** 1. Your program should accept either lower- or upper-case letters for any of the options. You should accomplish this using either the *toupper(...)* or *tolower(...)* functions in the C++ library: #include <ctype.h>. You should research the use of these functions yourself. 2. Use a *switch* statement to process the menu options. 3. The mean (or average value) of the scores is computed by summing the scores and dividing by total obtained by number of scores. For example, if there are N scores, x1, x2, ..., xN then the mean is: > ![[login to view URL] (3167 bytes)][1] 4. For example, suppose the scores are: 55.5, 64.4, 76.4, 83.9, and 92.8. (Of course, N is only 5 here, which is not large, but it is useful for illustrating how the computation is done.) > ![[login to view URL] (2015 bytes)][2] > > ![[login to view URL] (2024 bytes)][3] > ![[login to view URL] (5105 bytes)][4] > > ![[login to view URL] (2141 bytes)][5] 4. **Error Checking:** All scores must lie between zero and 100. ## 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). ## Platform win2000, G++ compliler
ID проекту: 3015374

Про проект

12 пропозицій(-ї)
Дистанційний проект
Активність 20 yrs ago

Хочете заробити?

Переваги подання заявок на Freelancer

Вкажіть свій бюджет та терміни
Отримайте гроші за свою роботу
Опишіть свою пропозицію
Реєстрація та подання заявок у проекти є безкоштовними
Доручений:
Аватарка користувача
See private message.
$7 USD за 2 дні(-в)
5,0 (26 відгуки(-ів))
3,2
3,2
12 фрілансерів(-и) готові виконати цю роботу у середньому за $6 USD
Аватарка користувача
See private message.
$8,50 USD за 2 дні(-в)
5,0 (69 відгуки(-ів))
4,7
4,7
Аватарка користувача
See private message.
$7,65 USD за 2 дні(-в)
5,0 (126 відгуки(-ів))
4,7
4,7
Аватарка користувача
See private message.
$8,50 USD за 2 дні(-в)
4,9 (79 відгуки(-ів))
4,7
4,7
Аватарка користувача
See private message.
$8,50 USD за 2 дні(-в)
4,9 (35 відгуки(-ів))
3,8
3,8
Аватарка користувача
See private message.
$8,50 USD за 2 дні(-в)
4,9 (15 відгуки(-ів))
2,8
2,8
Аватарка користувача
See private message.
$5,10 USD за 2 дні(-в)
4,5 (1 відгук)
0,0
0,0
Аватарка користувача
See private message.
$3,40 USD за 2 дні(-в)
0,0 (0 відгуки(-ів))
0,0
0,0
Аватарка користувача
See private message.
$5,10 USD за 2 дні(-в)
0,0 (0 відгуки(-ів))
0,0
0,0
Аватарка користувача
See private message.
$3,40 USD за 2 дні(-в)
0,0 (0 відгуки(-ів))
0,0
0,0
Аватарка користувача
See private message.
$5,10 USD за 2 дні(-в)
0,0 (0 відгуки(-ів))
0,0
0,0
Аватарка користувача
See private message.
$4,25 USD за 2 дні(-в)
0,0 (0 відгуки(-ів))
0,0
0,0

Про клієнта

Прапор UNITED STATES
United States
5,0
2
На сайті з лист. 20, 2003

Верифікація клієнта

Інші роботи від цього клієнта

Classes
$5-10 USD
Дякуємо! Ми надіслали на вашу електронну пошту посилання для отримання безкоштовного кредиту.
Під час надсилання електронного листа сталася помилка. Будь ласка, спробуйте ще раз.
Зареєстрованих користувачів Загальна кількість опублікованих робіт
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Завантажуємо для перегляду
Дозвіл на визначення геолокації надано.
Ваш сеанс входу закінчився, і сеанс було закрито. Будь ласка, увійдіть знову.