Computer Science, asked by dakshaprakashgupta, 2 months ago

Write a program in Java to generate a menu driven program to calculate the sum , difference , product and average of any two given numbers.

Answers

Answered by Devanandass
0

Answer:mark me branliest

Explanation:

Write a Java program that accepts two integers and then prints the sum, the difference, the product, the average, the distance (the difference between integer), the maximum (the larger of the two integers), the minimum (smaller of the two integers).

Test Data

Input 1st integer: 25

Input 2nd integer: 5

Java datatype Exercises: Print the sum, difference,  product, average, distance, maximum and minimum

Similar questions