/***************************************** * File: whatswrong1.c * Date: 10/02/2002 * Author: Kevin Atkinson (TA) * * This code contains several common mistakes. Most of which are * pointed out in the lecture notes. See if you can find them all. * ****************************************/ #include void main() { float i; for (i = 0; i != 12; i++); { if (i % 3 = 0) { printf "%f" i; } } }