I'm trying to make my game give the percentage(%) of a user's grade but I keep getting 0%.
Here's my code :
int win = 2
int Percentage = win/5;
System.out.println();
System.out.println("Your score is : " + win + "/" + "5" + "(" + Percentage *100 + "%" + ")");
Console : Your score is : 2/5(0%)