I want to make a commute program that fines fine over time.
I want to proceed in this order.
- The menu command first displays several names on the screen and then saves the time the menu was selected.
- If it is over 10 o'clock a.m., the program will automatically calculate the fine every 10 minutes.
- (However, it should show that there is no penalty at the time of attendance before 10:10.)
- If you click on the name when you go work, a name window will automatically be created for you to press again when leave work.
- It will reduce the fine every 30 minutes from the moment the user pass 7:00 pm.
I can even open the menu. But I do not know how to do calculations, and how to display and store time when I press a name.
And how can I summarize calculations every month and show the total amount?
Best Answer