Computer Science, asked by okj41026, 3 months ago

Write a program in java to accept two numbers from the user and display the output EXACTLY as shown below :
Menu like format showing the operations
Result showing the sum , product , quotient and remainder
**********************************************************************************
1. SUM : …….
2. PRODUCT : …….
3. QUOTIENT : ……
4. REMAINDER : ……
*********************************************************************************

Answers

Answered by Anonymous
2

Answer:

How to Improve a Human Resources Department

Improve your hiring process. If your goal is to run a scalable company, you'll need to build a strong team of experienced professionals that are willing to stay with the company for a long time. ...

Educate your employees. ...

Be clear about expectations. ...

Work on reward programs. ...

Utilize HR software. ...

Conclusion

Answered by Anonymous
2

Answer:

import java.util.Scanner;</p><p> </p><p>public class Exercise6 {</p><p> </p><p> public static void main(String[] args) {</p><p>  Scanner in = new Scanner(System.in);</p><p>   </p><p>  System.out.print("Input first number: ");</p><p>  int num1 = in.nextInt();</p><p>   </p><p>  System.out.print("Input second number: ");</p><p>  int num2 = in.nextInt();</p><p>   </p><p> </p><p>  System.out.println(num1 + " + " + num2 + " = " + </p><p>  (num1 + num2));</p><p>   </p><p>  System.out.println(num1 + " - " + num2 + " = " + </p><p>  (num1 - num2));</p><p>   </p><p>  System.out.println(num1 + " x " + num2 + " = " + </p><p>  (num1 * num2));</p><p>   </p><p>  System.out.println(num1 + " / " + num2 + " = " + </p><p>  (num1 / num2));</p><p> </p><p>  System.out.println(num1 + " mod " + num2 + " = " + </p><p>  (num1 % num2));</p><p> }</p><p> </p><p>}</p><p>

Similar questions