Question: I honestly have no idea how to answer test #1, it only needs one input and will output one when the question is asking the user will input ten (10) consecutive numeric grades that may or may not have a decimal.
test 1 is checking what it does when they give invalid data.
you don't handle that... you should NOT average invalid data into the result .. did they not give any instructions on what to DO when you get invalid data? It does say only process the output if you get all 10, so if you get a bad input, maybe they want you to stop right away.
Hi, I was editing my question to be more understandable as my code wasn't complete as I say that's why most of the answers here weren't able to answer my question at all.
Just leave your posts unedited, others can then see if they have same/similar questions and the follow-up replies. Editing posts renders any assistance you received as being meaningless.