Coding help -- 2

In Progress Posted 2 years ago Paid on delivery
In Progress Paid on delivery

Wacky Winners is holding raffle at WSU where students were allowed to enter their full name and GPA for a chance to win a mystery award, but the catch was the student with the lowest GPA must attend summer school. Only the first 5 participants can enter this raffle.

Create two arrays of size 5.

1. One array will hold the names of the 5 students entering the raffle.

2. The second array will hold the GPAs of the 5 students.

Use for loops to accomplish the following:

1. Record all the student names and GPAs into the arrays. Keep track of the names and GPAs of the students with the highest and lowest GPAs. Declare four variables: nameHigh, gpaHigh, nameLow, and gpaLow. One approach is to store a small (negative) value in gpaHigh and a large value in gpaLow before the loop. After each GPA is entered, test whether gpaHigh and gpaLow need to be updated.

2. Print out a formatted table displaying all of the students names and GPAs. All numbers should display one decimal place.

Print the following:

1. Print out the name and GPA of the student who won the raffle with the highest GPA

2. Print out the name and GPA of the student who will be forced to attend summer school.

Define constants for the column widths in your table and for the number of students allowed to enter the raffle(5).

C++ Programming

Project ID: #29795524

About the project

6 proposals Remote project Active 2 years ago

6 freelancers are bidding on average $20 for this job

harissheikh255

Hello, I will do simplest coding in C++, C using OOP, data structures concepts. It looks like an assignment so coding will be easily understandable for u. I have done many C/C++ works here. Lets have a chat for further More

$20 USD in 1 day
(59 Reviews)
5.4
sheikhnazeer3

Hello, My name is Nazeer and I'm a full-time freelancer from Pakistan. I read your job offer regarding the programming task and I'm ready to start right away. I am also flexible with whatever budget you have. Accurac More

$19 USD in 1 day
(21 Reviews)
4.6
wangchulin4

Hi, there. I CAN START JUST NOW. I have got your project requirement enough. I am a creative and professional C++ developer having more than 5+ years of professional experience as a senior developer in this field. My More

$20 USD in 1 day
(0 Reviews)
0.0
Miguelbucio

Hi I’m an expert in c++ programming and I’m interested in your project I can help you Send me a message to discuss the details

$30 USD in 1 day
(0 Reviews)
0.0
sree1672

I am a diploma student in Computer Engineering and I have been studying and working with C++ for over 3 years now. I assure you that this code will be delivered within the least time possible. Looking forward to work w More

$15 USD in 1 day
(0 Reviews)
0.0