If you have simple calculator which have not % operator then
percentage of given number=100*given number/Total number
Class prime{public static void main(String arg[]){o:for(int I=1;I<=100;I++){for(int j=2;j<I;j++){if (I%j==0)continue 0;}System.out.print("Prime number is"+I);}}}
It's simple,,,..... Go to any search engine and type the desired free online game and you will take the result.