@rproffitt: amazing as it may seem, some teachers still work with Turbo C. I guess some countries don't (or can't) provide enough money for their education system. Hence Turbo C is better than nothing. Or: the teacher is still stuck in the previous century and doesn't "evolve". Which is bad and sad.
@joshua_14: we don't do your homework for you. Show us what you got and we'll try to help.
@ddanbe, I had to ask since last year a new hire was stumbling around as we use gcc and later compilers. As to cost, the new online fiddles are currently free but if a teacher is stuck in the 1980's what is to be done but ask. I had to tell the new hire to stop calling the errors "compiler bugs."
Actually, in India and Pakistan, it is even worse that that: last I heard (as recently as last summer), the national university systems continue to mandate the use of Turbo C++ 1.5 as the standard C/C++ compiler, and professors are forbidden to use anything else for introductory C++ courses (whether they can use other languages in introductory courses wasn't clear, but aparently the scholastic exams are all based on C++, and the tests haven't been changed significantly since around 1995). All efforts to change this have been furiously resisted for decades, apparently.
At least, that is my understanding of the situation, but the issue has been discussed here and elsewhere on numerous occasions, and the consensus is that the national exam system governors see change as a bad thing, and refuse to acknowledge that anything is wrong with the curriculum.