The fill in the blanks part is good. That is how some of
the
early assignments I did at Uni worked.
If the problem is "Write a program to print the integers
from 0 to 9, modify this program":
#include <stdio.h>
main {
int i;
for (i = 0; i < 10; i++) {
/* You're code here */
}
}
Okay, that's a really simple one, but you get the idea...
I assume that the Comp Sci department at my old Uni
(VUW) is the only
one that does that...
Cheers! |