Hey guys thanks for your help! Figured it out.
Type: Posts; User: Vontrapp
Hey guys thanks for your help! Figured it out.
I need to write code to determine which student has the highest average. So far I found the averages for all students and all quizzes but I can't figure how to find the highest.
I'm trying to figure out the code to determine the student with the highest average. I got this far but now I'm stuck.
#include <stdio.h>
#include <stdlib.h>
#define STUDENTS 4
#define...
LOL you know what else too, sometimes looking at code for sooooo long you don't even see where your mistakes are. Just like writing a paper and not catching certain grammatical errors. This is pretty...
awesome!! Thanks everyone for your help.
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
main(void) {
int random[20];
int occur[7];
int i;
srand(time(NULL));
unfortunately I didn't quite grasp your explanation about counting occurrences.
Hello all, I was hoping to get a little help for some code I'm writing. I have to declare an array of 20 integers, fill the array with random numbers between 1-6, and then write a loop to count how...