DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Banquet seating

  1. #1
    Join Date
    Aug 2004
    Posts
    43,023

    Banquet seating

    [Originally posted by Last_Assassin]

    Need a application to manage the seating arrangements for a Banquet Night.

    you have been asked to set up some tables and chairs. A maximum of six people will sit at each table. Write a program that inputs the number of people that will attend, then prints the number of tables needed. Assume the maximum number of people allowed in the gym is 500. Furthermore you are asked to see that no one is sitting at a table alone. The simplest way to do this is to evenly distribute the people over the number of tables.

    Your output on the form must say how many tables and how many people at each table! Decisions regarding the appearance of the interface are yours; the only restriction is you must use arrays

  2. #2
    Join Date
    Aug 2004
    Posts
    43,023

    Re:Banquet seating

    [Originally posted by Nick]

    is 2 at a table ok? ill start with that...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center