You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1.Write a Java program which takes marks of six subject as input and give average marks as output.
2.You have to make calculator which performs addition, subtraction, multiplication and division on two numbers when input 1, 2, 3 or 4 respectively is given.
3.Write a Java program to find whether a input number is even or odd.
4.Write a Java program to Swap Numbers without using 3rd variable.
5.Write a Java program to find whether a number is Armstrong or not (strictly for 3-digit numbers).
HELP: An Armstrong number of three digits is an integer such that the sum of the cubes of its digits is equal to the number itself. For example, 371 is an Armstrong number since 3**3 + 7**3 + 1**3 = 371.