Jun-07-2019, 05:33 PM
I haven't tried the program, but I would note that you have a problem with student_number. You get it in the dados function, but you don't return it from there, so you can't use it in the repete function. You need to return the value from dados, assign that to a variable, and pass that to repete as a parameter. See the function tutorial link in my signature below for examples.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures