congratulateStudent task on page 30


#1

Hi

I’ve typed the code in a number of times and re-checked it but I still keep getting an error where the first { is Parse issue Expected identifier or ‘(’

[code]#include <stdio.h>

void congratulateStudent(char *student, char *course, int numDays);
{
printf("%s has done as much %s Programming as I could fit into %d days.\n",
student, course, numDays);
}

int main(int argc, const char * argv[])
{
congratulateStudent(“Kate”, “Cocoa”, 5);
congratulateStudent(“Bo”, “Objective-C”, 2);
congratulateStudent(“Mike”, “Python”, 5);
congratulateStudent(“Liz”, “iOS”, 5);

return 0;

}[/code]


#2

Looks like I had an ; at the end of the void line

Fixed now