Good Turn | Java Code Chef Solutions | Starters 78 | LWC

preview_player
Показать описание
Good Turn Problem Code: GDTURN Solution in JAVA | LWC
CANDYSTORE Candy Store | Java Code Chef Solutions | Starters 78 | LWC
Good Turn | Java Code Chef Solutions | Starters 78 | LWC
Chef and Chefina are playing with dice. In one turn, both of them roll their dice at once.

They consider a turn to be good if the sum of the numbers on their dice is greater than 6
6.
Given that in a particular turn Chef and Chefina gotX and
Y on their respective dice, find whether the turn was good.
Рекомендации по теме
Комментарии
Автор

while (t-->0) what is meaning of this?

SurajPrajapati-xqdx
Автор

1+4=5 <6, then how the statement is true????

earthen