#Most likely a simple fix, i just need help
1 messages ยท Page 1 of 1 (latest)
Here is an AI assisted attempt to answer your question ๐ค. Maybe it helps! In any case, a human is on the way ๐. To continue talking to the AI, you can use </chatgpt:1108714622413963314>.
Sure, I'd be happy to help. Can you please provide me with the code snippet where you are calculating the lowestGrade variable? This will help me understand the issue and provide you with a solution.
This code snippet is checking if the grade is greater than or equal to the current highestGrade and within the range of 0 to 100. If it meets these conditions, it updates the highestGrade variable with the new grade value.
Similarly, it also checks if the grade is greater than or equal to the current lowestGrade and within the range of 0 to 100. If it meets these conditions, it updates the lowestGrade variable with the new grade value.
It's important to note that this code assumes that highestGrade and lowestGrade are initialized before this snippet of code is executed.