GUYS.........ok i thought i was all done..........cant believe i have a problem again.............but i went back to my .txt file and changed it a little so the biggest value would be 5 instead of...
Type: Posts; User: kal123456
GUYS.........ok i thought i was all done..........cant believe i have a problem again.............but i went back to my .txt file and changed it a little so the biggest value would be 5 instead of...
@nonpuz Yes you're totally correct!! AND I JUST FIGURED OUT MY LARGEST FUNCTION SO IT WORKS!!!!! :D :D Thanks soo much guys for thoroughly explaining this to me, and taking the time and being patient...
Sorry about the formatting, I'm just trying to hurry up and finish this ahhaha, its due tomorrow -____- I'm such a procrastinator! I will indent and format it when I figure this out! And I don't...
GUYS I"M ACTUALLY BACK. I CANT FIGURE THIS OUT I"M STUCK!!
so I made a separate function (because I couldnt figure out how to include it in the main -__-) that's supposed to output the largest...
@Matticus
Ok got it, thanks!! :)
And about the cross-posting, I'm really sorry, of course I won't do it again. I'm generally new to the world of forums, I never used one before, so I guess I wasn't...
@nonpuz
Oh...I'm sorry, I forgot to delete it -___________- Sorry, I'm new, and I didn't have time to read all the rules! D:
Yeah, that was my older post on the same homework! Why?....
Oh, and a last question for Matticus: should I create another function that calculates the largest element in the array? or should I put...
Ohhh do you basically have to find the largest element in the array? In this case it would be 4, and the number of candidates will always be one more than that...right? :D
The highest value would be 4, right?
Hey!
So, I have this assignment that I need to complete, here it is:
"Project: Class Election
A class has up to 50 students. There are up to 10 candidates numbered from 0 to 9 (use these...