Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class AvaluadorExpressions {
- public static void main(String[] args) {
- int a=3;
- int b=8;
- int c=4;
- int d=2;
- System.out.println(2 - a * b + c);
- System.out.println((2 - a) * b + c);
- System.out.println(a * b - c * a - d);
- System.out.println(a / 3 - b);
- System.out.println(a / (33 - b));
- System.out.println(d * 23 - 1 + b);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment