Simple java

Can some one pls tell me what is wrong with this code.
public class Arithmetic {
public static void main(String args) {

  int sum = 12 + 15;
  int diffrence = 900 - 15;
  int product = 5 * 6;
  int quotient = 45 / 3;
System.out.println("vsota" = sum);
System.out.printIn ("Razlika" = diffrence);
System.out.printIn ("Produtkt" = product);
System.out.printIn ("Kolicnik" = quotient);  


}

}

@slo-tim,

maybe a read
of the Documentation
https://docs.oracle.com/javase/tutorial/essential/io/formatting.html

@slotim your system.out.printin is wrong, change the i to a 1 for all three.

1 Like