Practice 02: Operators in Java
1.Write a program to implement arithmetic operators. public class j04ArithmeticOperators { public static void main ( String [] args ) { // declare variables int a = 12 , b = 5 ; // addition operator System . out . println ( "a + b = " + ( a + b )); // subtraction operator System . out . println ( "a - b = " + ( a - b )); // multiplication operator System . out . println ( "a * b = " + ( a * b )); // division operator System . out . println ( "a / b = " + ( a / b )); // modulo operator System . out . println ( "a % b = " + ( a % b )); } } 2.Write a program to add three numbers and find their sum and mean. import java.util.Scanner ; public class j05threenumsummean { public static void main ( String [] args ) { int a , b , c ; int sum ; double mean ; Scanner sc = new Scanner ( System . in ); Sy...