The program can run properly now.
But there have something that is not in logic.
How to make some error detection
For instance the time column is only accept the number.
Yes I have change the data type into int(original is char).
But error after compile