Page 1 of 1

• Using shortcut operators in java Below 4 data values are given to you. Write a program to add/subtract from the number

Posted: Fri Jul 01, 2022 5:47 am
by answerhappygod
Using Shortcut Operators In Java Below 4 Data Values Are Given To You Write A Program To Add Subtract From The Number 1
Using Shortcut Operators In Java Below 4 Data Values Are Given To You Write A Program To Add Subtract From The Number 1 (54.64 KiB) Viewed 24 times
• Using shortcut operators in java Below 4 data values are given to you. Write a program to add/subtract from the numbers as noted in the comment and display the values to the console. int a 10; // add 1 to 'a' using shortcut operator and display (print to console) int b = 5; // subtract 1 from 'b' using shortcut operator and display int c = 15; //add 5 to 'c' using shortcut operator and display int d = 20; //subtract 5 from 'd' using shortcut operator and display