Cracking the Accenture Coding Question June 2023 | Apple Sharing problem solution in Python

Опубликовано: 24 Июль 2023
на канале: Engineers Revolution
329
2

Question No: 02

This is a programming Question.

Please do not forget to select any one language from the "Select language"
drop down menu before you start coding.

Please write the code in the given text area.

You can check your program by clicking on the compile button.

Once your program is finalized, you must submit your program for
evaluation by clicking on the submit button.

Also ensure while printing the output of your program, if required
you only print the exact output of the program
without any leading or preceding text or remark

A has Purchased N apples for B and C.
Now he wants to share all the apples with his friends.

One apple typically weighs between 100 and 200 grams.
A naturally wants to protect his pals. since B and C received an identical
quantity of apples, the weight of the apple they received must also be equal

A, However is unable to divide an apple into multiple pieces
because he is currently without a knife. If there is a fair way to
distribute all the apples among his friends, let him know

Input:
3 100 200 100

Output:
Yes





Fig Leaf Times Two by Kevin MacLeod is licensed under a Creative Commons Attribution 4.0 license. https://creativecommons.org/licenses/...

Source: http://incompetech.com/music/royalty-...

Artist: http://incompetech.com/


Смотрите видео Cracking the Accenture Coding Question June 2023 | Apple Sharing problem solution in Python онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Engineers Revolution 24 Июль 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 329 раз и оно понравилось 2 людям.