public static double percent(int a, int b) { double c = ((double)b/(double)a)*100; return c; }