Find Jobs
Hire Freelancers

code a program in C.

$10-30 USD

In Bearbeitung
Veröffentlicht vor mehr als 5 Jahren

$10-30 USD

Bezahlt bei Lieferung
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.
Projekt-ID: 18332846

Über das Projekt

6 Vorschläge
Remote Projekt
Aktiv vor 5 Jahren

Möchten Sie etwas Geld verdienen?

Vorteile einer Ausschreibung auf Freelancer

Legen Sie Ihr Budget und Ihren Zeitrahmen fest
Für Ihre Arbeit bezahlt werden
Skizzieren Sie Ihren Vorschlag
Sie können sich kostenlos anmelden und auf Aufträge bieten
6 Freelancer bieten im Durchschnitt $27 USD für diesen Auftrag
Avatar des Nutzers
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 in 1 Tag
5,0 (540 Bewertungen)
7,2
7,2
Avatar des Nutzers
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 in 1 Tag
4,9 (122 Bewertungen)
6,9
6,9
Avatar des Nutzers
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 in 1 Tag
5,0 (212 Bewertungen)
6,7
6,7
Avatar des Nutzers
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 in 1 Tag
5,0 (27 Bewertungen)
5,8
5,8
Avatar des Nutzers
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 in 3 Tagen
0,0 (0 Bewertungen)
0,0
0,0

Über den Kunden

Flagge von UNITED STATES
McAllen, United States
0,0
0
Mitglied seit Dez. 11, 2018

Kundenüberprüfung

Danke! Wir haben Ihnen per E-Mail einen Link geschickt, über den Sie Ihr kostenloses Guthaben anfordern können.
Beim Senden Ihrer E-Mail ist ein Fehler aufgetreten. Bitte versuchen Sie es erneut.
Registrierte Benutzer Veröffentlichte Jobs
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Vorschau wird geladen
Erlaubnis zur Geolokalisierung erteilt.
Ihre Anmeldesitzung ist abgelaufen und Sie wurden abgemeldet. Bitte melden Sie sich erneut an.