ok, i need to finish my computing coursework by wednesday. all i need to finish is the usage stats. but im stuck here goes;
i have my bookings stucture as
its for a village hall booking program btw dancing, oragami etc.Code:
int week, day, time;
i have 1 - 9 representing the 9 weeks in 2 months.
1 - 6 representing the number of days (not open sunday)
and 1 - 4 representing the 4 different time zones allowed to book.
now i need to work out a percentage statistics for each weekly slot usage. how can i do it!!!
ive been trying swich statements but the code just ends up redicuroulsy big, and not sure how a for loop would work.
any help would be much appreciated, just ask if your not sure of the stucture.
thanks in advance dac.