In function graduateAndUpgrade
we are calculating payperTeacher
& principalPay
. But we are calculating incorrectly, bursary
is the total fund of contract. if we multiply bursary
by TEACHER_WAGE
OR PRINCIPAL_WAGE
. we will get the husge amount, which will be greater than whole bursary fund. Paying this much of wage can lead to loss of funds.
In function graduateAndUpgrade
we are calculating payperTeacher
& principalPay
. But we are calculating incorrectly, bursary
is the total fund of contract. if we multiply bursary
by TEACHER_WAGE
OR PRINCIPAL_WAGE
. we will get the husge amount, which will be greater than whole bursary fund. Paying this much of wage can lead to loss of funds.
This much transfer of funds to the teacher or principal can lead to loss of funds .
Manual Review
Correct the formula .
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.