Question: write a JAVA statement with the following prarameters? You only need to write the method definitions and methods calls. Question 3 just requires the looping

write a JAVA statement with the following prarameters? You only need to write the method definitions and methods calls. Question 3 just requires the looping statements.

1) Write a method to calculate the product of two floating-point numbers

- The method name is calcProduct

- The method returns a double value

- The method takes two double arguments

- The method will calculate of the product of two decimal numbers and return the result

2) Write a method to check if a number is multiple of 10

- The method name is isMultipleOf10

- The method returns a boolean value

- The method takes one integer argument

- The method will check if the number passed in is a multiple of 10. If it is multiple of 10, return true, otherwise return false

- A number is multiple of 10 if can be divided by 10 evenly, such as 10, 20, 30, etc.

3) Write a nested loop to display the following info:

1 2 3 4 5 2 3 4 5 6 3 4 5 6 7 4 5 6 7 8 5 6 7 8 9

** You can use any type of loop to solve this problem. You only need to write the loop statements.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!