رد: }{ تعالو نفهم بعض الsheet }{....برمجة 2
تسلمين يا мαѕooяy
الكمنت هي:
16 /* Declare array to store the number of games won by number of rolls in the 17 game */
18 /* Declare array to store the number of games lost by number of rolls in the game 19 */
37 /* Create the array to store the number of games won */ 38 /* Create the array to store the number of games lost */
/* Write an if statement to test whether the number of rolls is greater than 78 21 and, if true, set number of rolls to 21 */
/* Write code to increment the number of games won for a 84 specific number of rolls */
85 /* Write code to increment the overall number of games won */
89 /* Write code to increment the number of games lost for a 90 specific number of rolls */
91 /* Write code to increment the overall number of games lost */
107 /* Write an if statement to test whether i is equal to 21 */
108 /* Output number of games won and lost after the 20th roll */
110 /* Output number of games won and lost after each roll less than 20 */
115 /* Write code to calculate total length of games */
والأهم أبغى أعرف فكرة السؤال اش يبغى بالضبط وكيف يعمل البرنامج؟؟؟؟؟؟؟
الله يجزاكم خير
|