|
The thing is that the teacher asked us to do this using IF and switch statements to get accustomed to them. We're gonna learn about arrays after doing loops in the next class.
I didn't mean to dismiss your idea, I'm sure it's much better than how I went about it, but at the moment I'm still not fully confident using switches and IF statements, so I didn't want to stray away from the instructions too much.
I did, however, have a better idea on the "day number" part so that the code is better looking and easier to decipher. I'll test it out now and post my results.
|