Write a Java program to divide two numbers and print on the screen.

 

Java Code:
public class Exercise3 {
 public static void main(String[] args) {
  System.out.println(50/3);
 }
}


Sample Output:


16


Post a Comment

0 Comments