У вашего броузера проблема в совместимости с HTML5
Program: public class calculator2 { public static void main (double a,double b) { double s=a+b; double c=a-b; double m=a*b; double d=a/b; System.out.println("The sum of the given numbers is "+s); System.out.println("The difference between the given numbers is "+c); System.out.println("The product of the given numbers is "+m); System.out.println("The division of the given numbers is "+d); } } This is a basic J Thnx for watching! Plz Like,Comment and Subscribe This would help me a lot!