4

help with Array in c++

view full story
linux-howto

http://www.daniweb.com – I am having a hard time getting started on this array. I am in a C++ class but I have no refrence material to go off of This is what i have so far, The purpose of the code is to find out how many wait staff is needed if you have 24 customers...for example for 0 customers you need 3 wait staff. I am not trying to get some one to do my homework I am just lost and cannot get a hold of my instructor #include <iostream> using namespace std; void main() { int customers [24] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 13, 14, 15, 16, 17, 18 19, 20, 21, 22, 23, 24}; (General)