1. includes int main() variable declarations program body return 0 Note: it works fine if you put the variable declarations ABOVE the int main(); however, it is preferable to place them INSIDE the main() function whenever possible. 2. int count; double distance; char letter; Note: make sure you use the variable names that were given! Note: don't forget the semi-colons. Note: don't add code that wasn't asked for (e.g. int main() etc.) 3. if (x == 1) { printf("1 second"); } else { printf("%i seconds", x); } Note: make sure you used the double-equals operator (==) instead of just one (=). Note: the curly braces in this example are optional. Note: although it wasn't specified that x was an integer, it is a reasonable assumption; otherwise, it doesn't make sense to test for exact equality with 1 (remember, use thresholds for floating-point equality testing). Note: don't use a variable other than "x"! Note: don't add code that wasn't asked for (e.g. scanf(), int main() etc.) 4. if (type == 3) { x = x * 2; } else if (type == 4) { x = x + 2; } else if (type == 7) { x = x * x; } else { x = x + 1; } Note: curly braces are optional in this example. Note: make sure you test "type", not "x" in the boolean expression! Note: make sure you used the double-equals operator (==) instead of just one (=) for the boolean expression. 5. False. Note: "switch" is limited to to testing integral types for exact equality only; "if" can do much more, such as testing numeric ranges using < and/or >, comparing floating-point types, and using complex boolean expressions. Therefore "if" is much more flexible and powerful than "switch".