0
   

Javascript

 
 
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
  • Topic Stats
  • Top Replies
  • Link to this Topic
Type: Question • Score: 0 • Views: 632 • Replies: 0
No top replies

 
 

Related Topics

 
  1. Forums
  2. » Javascript
Copyright © 2024 MadLab, LLC :: Terms of Service :: Privacy Policy :: Page generated in 0.03 seconds on 05/10/2024 at 04:35:07