I need a java code for IDE jGrasp software. Design a java application and two embedded static methods. The first method is a void method named findMax, that can find the maximum of two integers and it prints the maximum number inside the method. The second method is a value returning method named findAverage that receive 3 double numerical values and returns the average of these values back to the caller. The main( ) method should input the integers and double numerical values from the user and pass them appropriately to the findMax and the findAverage methods. The main() method should also print the average of the double numerical value. thank you
I need a java code for IDE jGrasp software. Design a java application and two embedded static methods. The first method is a void method named findMax, that can find the maximum of two integers and it prints the maximum number inside the method. The second method is a value returning method named findAverage that receive 3 double numerical values and returns the average of these values back to the caller. The main( ) method should input the integers and double numerical values from the user and pass them appropriately to the findMax and the findAverage methods. The main() method should also print the average of the double numerical value. thank you
Chapter7: Using Methods
Section: Chapter Questions
Problem 2CP
Related questions
Question
I need a java code for IDE jGrasp software.
Design a java application and two embedded static methods. The first method is a void method named findMax, that can find the maximum of two integers and it prints the maximum number inside the method. The second method is a value returning method named findAverage that receive 3 double numerical values and returns the average of these values back to the caller. The main( ) method should input the integers and double numerical values from the user and pass them appropriately to the findMax and the findAverage methods. The main() method should also print the average of the double numerical value. thank you
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 2 images
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT