Answered step by step
Verified Expert Solution
Question
1 Approved Answer
JAVA-URGENT PLEASE SOLVE IN LESS THAN 30 minutes ! IN JAVA please ( make a program that has these conditions) 1. A method that checks
JAVA-URGENT PLEASE SOLVE IN LESS THAN 30 minutes ! IN JAVA please ( make a program that has these conditions)
1. A method that checks whether a number is divisible by 10 (returns D) or not (returns N) with the following header: public static char checkDivisible (int number) 2. A method that: If the passed perimeter is divisible by 10, it multiplies it by 15 and returns it. Otherwise, it return the number with no edits. Use the following header: public static int operate (char c, int number) 3. A test program that displays the following table invoking the two methods: run: number E/O Operation I N 115 110 105 100 95 N ZA ZA ZA 115 1650 105 1500 95 1350 D N 90 3. A test program that displays the following table invoking the two methods: run: number E/O Operation 115 N 115 110 D 1650 105 N 105 100 1500 95 N 95 90 1350 85 N 85 80 D 1200 75 N 75 70 D 1050 65 65 60 900 55 N 55 The average is: 85 BUILD SUCCESSFUL (total time: 0 seconds) zz Azzzzz unus I 4. Calculate the average of the elements (number column) and display it as shown in the image above Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started