Find Jobs
Hire Freelancers

code a program in C.

$10-30 USD

Probíhající
Zveřejněno před více než 5 roky

$10-30 USD

Zaplaceno při doručení
Create a program that display a menu to the user. The choice should be as follows: Enter 5 grade Show average (with the 5 grades) and letter grade Show highest grade Show lowest grade Exit If you want to put the menu into a function you may. The program should use a switch statement for using the appropriate function based on the user's choice. Each option should be implemented int its own function (use appropriate names for the functions). Initialize the variables for grades randomly between 50-100 so if the user selects show average as their first choice, there will be some grades in the variables already. You should have the following functions: In ONE OF them you should traverse the array using pointer notation. Function 1: This function is responsible for getting the 5 grades at once and placing them into the array. Validate that the grades are in the range between 0-100 (use a loop). (use pointer notation to traverse the array) Function 2: Calculate the average of the 5 grades passed in and display the average with 1 decimal place and also display the letter grade. Average Letter Grade 90 - 100 A 80 - 89 B 70 - 79 C 60 - 69 D Below 60 F Function 3: Have this function receive the array as a parameter and returns the highest grade to the main. The main will use that value to display it. Do not display in this function. (use pointer notation to traverse the array) Function 4: Have this function receive the array as a parameter and return the lowest grade to the main. The main will use that value to display it. Do not display the function. (use pointer notation to traverse the array) Use a loop to repeat the entire program until the user hits 5 to exit.
IČ projektu: 18332846

O projektu

6 nabídky
Vzdálený projekt
Aktivní před 5 roky

Chcete si vydělat nějaké peníze?

Výhody podávání nabídek na Freelancer

Stanovte si rozpočet a časový rámec
Získejte za svou práci zaplaceno
Načrtněte svůj návrh
Registrace a podávání nabídek je zdarma
6 freelanceři nabízejí v průměru $27 USD za tuto práci
Avatar uživatele
Hi There I've excellent programming and development skills and knowledge. I can provide an efficient, perfect, well documented development of your Programming and Computer project according to 100% accuracy and requirements, with dedicated support. Thanks Farah Saif
$25 USD v 1 dni
5,0 (540 recenze)
7,2
7,2
Avatar uživatele
Hi Nice to meet you. I'm senior c++/c# expert. I have plenty experience of multithreading, opencv, REST api, and entityframework. I have written same code before. Just let me know if you are interested in me. Regards. Lian
$25 USD v 1 dni
4,9 (122 recenze)
6,9
6,9
Avatar uživatele
Hello sir/madam. I can make your C program as you described in less than 1 day. Please, contact m,e to make deal... Regards
$30 USD v 1 dni
5,0 (212 recenze)
6,7
6,7
Avatar uživatele
Dear As I am a senior software developer, have rich experience with various application development using C#, VC, VB.Net, NodeJS, Matlab, and python If you are interested with my proposal, please let me know it. I hope to work with you on this project. Thanks.
$25 USD v 1 dni
5,0 (27 recenze)
5,8
5,8
Avatar uživatele
Bu proje benim için çok kolay olacak size yardımcı olmak isterim. Daha önce de bu programa benzer bir proje yapmıştım size de dikkat çekici bir içerik hazırlayabilirim.
$30 USD v 3 dnech
0,0 (0 recenze)
0,0
0,0

O klientovi

Pochází z UNITED STATES
McAllen, United States
0,0
0
Členem od pro 11, 2018

Ověření klienta

Díky! Poslali jsme vám e-mailem odkaz pro získání kreditu zdarma.
Při odesílání e-mailu se něco pokazilo. Zkuste to prosím znovu.
Registrovaných uživatelů Zveřejněných projektů
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Načítání náhledu
Bylo uděleno povolení ke geolokaci.
Vaše doba přihlášení vypršela a byli jste odhlášeni. Přihlaste se znovu.