Hi. I am making a quiz using processing. Our teacher instructed us to create the function findPercent, which will find the percent of the quiz using the variable totalCorrect (represents the answers the user got correct on the quiz) and the total number of questions. Since the teacher is away and very busy, I have no clue what to do.[

[https://editor.p5js.org/seerhallow12247/sketches/x7a5hTh5P]

boolean findPercent(){

divide =totalCorrect/numberOfquestions;

percent = ((float)divide);

}

Sorry if I messed up on the formatting, I am very new to Processing.

Thanks