1.

Write a Java Program to illustrate the use of all arithmetic operation​

Answer»

Answer:

Java Program to Illustrate the Use of ARITHMETIC Operators

  • public class Arithmetic_Operators.

  • Scanner s = new Scanner(System.

  • while(true)

  • System. out. println("Enter the two numbers to perform operations ");

  • INT x = s. nextInt();

  • System. out. print("Enter the second number : ");



Discussion

No Comment Found

Related InterviewSolutions