/* walkThruDemo.c Author: Murray Saul Date: January 14, 2008 Purpose: To provide a simple C program to allow instructor to show how to correctly answer a walk-thru question */ #include main() { int a = 3, b = 5, c, d; c = a + b; d = b - a; a = d * c; c = c * a; b = a / b; d = b; printf("\nResults\n=======\n\na:%d\nb:%d\nc:%d\nd:%d\n\n", a, b, c, d); } /* End of main Program */