9) Create a java programming where you will enter two numbers and create only one method,...

70.2K

Verified Solution

Question

Programming

9) Create a java programming where you will enter two numbersand create only one method, which will return or display
addition, substraction, multiplication, division, average and checkwhich number is greater than the other.
Everything in one method and call it in main method.

Answer & Explanation Solved by verified expert
4.2 Ratings (758 Votes)
Above program is to do calculations in one function and call itin the main methodFirstly in main method 2 integers are entered in consoleand a function calculation is called with    See Answer
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students