I recently started learning Java and I can't solve one problem: You have a bowl on your counter with an even number of pieces of fruit in it. Half of them are bananas, and the other half are apples. You need 3 apples to make a pie. Task Your task is to evaluate the total number of pies that you can make with the apples that are in your bowl given to total amount of fruit in the bowl. Input Format An integer that represents the total amount of fruit in the bowl. Output Format An integer representing the total number of whole apple pies that you can make. Sample Input 26 Sample Output 4

8/16/2022 5:36:23 PM

Akridem14 Answers

New Answer
Hot Today

Could not find or load main class Java
I have a math problem so this is the code and he didn't work so why?
Why can't I complete more than 3 of my code repo project?
Where's the mistake?
Why is my code not working olzz tell me ? ðŸ˜ðŸ˜ðŸ˜
What is algorithms and data structures and where can iearn it?
What is the solution
C++ doubt
What are the uses of various symbols?
Add binary as string

Sololearn Inc.

535 Mission Street, Suite 1591San Francisco, CA 94105

Â© 2022 Sololearn, Inc.

Send us a message