Reply
Mon 7 Sep, 2015 06:54 pm
3. Teams Using a Boolean Flag:
Your program should read an integer value from the user for the number of players on a team. It must be between 6 and 15 inclusive. You are also to read in the total number of available players. This must not be a negative number. Calculate and display the number of teams and how many players will be left over. Use 2 while loops, not nested to read in the input.
Page name: Teams.html
Function Name: Teams ()
Loop Structure: while