import java.util.Scanner;
public class Percentage {
public static void main(String[] args){
int total, score;
int percentage;
Scanner sc = new Scanner(System.in);
System.out.println("Enter the total amount of score: ");
total = sc.nextInt();
System.out.println("Enter the score obtained: ");
score = sc.nextInt();
percentage = (score * 100/ total);
System.out.println("The percentage is = " + percentage + " %");
}
}