How many days is the teacher coming?
Posted: Tue Nov 10, 2009 6:56 pm
Hi
I have a question I have been working for a while and it would be really nice if I could have a hint.
Sorry if I go straight to the problem:
I have few teachers working in a school.
The event to consider is the lesson.
I want to count how many days is the teacher coming in a month to pay the transportation. If the teacher come 2 times or more in one day the transportation is payed just one time.
Sometimes the lesson is cancelled from the student.
In this case the teacher do not come but the lesson is payed.
In fact I want to count the times the teacher is coming per month.
But of course I do not want to count the cancelled lesson.
So if there is just on cancelled lesson in one day means the teacher did not come. If there are 2 lessons in one day and one lesson is cancelled means the teacher come. If there are 2 lessons and both are cancelled means the teacher did not come....
I hope it is easy to understand
Many many many many many thanks in advance
Stefano
I have a question I have been working for a while and it would be really nice if I could have a hint.
Sorry if I go straight to the problem:
I have few teachers working in a school.
The event to consider is the lesson.
I want to count how many days is the teacher coming in a month to pay the transportation. If the teacher come 2 times or more in one day the transportation is payed just one time.
Sometimes the lesson is cancelled from the student.
In this case the teacher do not come but the lesson is payed.
In fact I want to count the times the teacher is coming per month.
But of course I do not want to count the cancelled lesson.
So if there is just on cancelled lesson in one day means the teacher did not come. If there are 2 lessons in one day and one lesson is cancelled means the teacher come. If there are 2 lessons and both are cancelled means the teacher did not come....
I hope it is easy to understand
Many many many many many thanks in advance
Stefano