I have a little problem in my java application.
I have to calculate the score they have when they finish, I use this method:
public Float ScoreProcent(in
Try this:
num = (float) (100 * (float) correct / (float) questions);
or
num = (correct * 100.0) / questions;