Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.Scanner;
- public class OperatorAritmatika
- {
- public static void main(String args[])
- {
- System.out.println("5 + 2 = " + (5 + 2));
- System.out.println("6 - 3 = " + (6 - 3));
- System.out.println("8 * 5 = " + (8 * 5));
- System.out.println("15 / 3 = " + (15 / 3));
- System.out.println("10 % 4 = " + (10 % 4));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement