One thing is you initialized t as int t = ; Did you mean to initialize it at 0?

Another thing you have nested while loops which are infinite loops. while (t <= 12) how is the condition ever...