Function in java program

Published: 11 January 2022
on channel: Lover Coder Baba
394
9

There is a charity which has N people. Penny wants to donate some of her clothes to the charity in such a way that all people receive equal clothes and each individual receives more than 1. If she has M clothes with her what is the maximum number of clothes one individual can get?
Input
User Task:
Since this will be a functional problem, you don't have to take input. You just have to complete the function Charity() that takes integers N, and M as arguments.
#java#function#oops#java programming


On this page of the site you can watch the video online Function in java program with a duration of hours minute second in good quality, which was uploaded by the user Lover Coder Baba 11 January 2022, share the link with friends and acquaintances, this video has already been watched 394 times on youtube and it was liked by 9 viewers. Enjoy your viewing!