I'm stuck on the initial part of the Mario pset. I continue to get the same error message: mario.c:6:1: error: expected identifier or '(' { ^ I understand that it has something to do with the curly brackets/initiation of the function, but I do not understand what I am going wrong. I've literally copy pasted code from online and I still get the same error message. Can you help me out? Here is my code:
// Pset1_MarioMore
#include <stdio.h>
int main(void);
{
int height;
do
{
height = get_int("Enter integer between 2-23: ");
}
while (height < 0 || height > 23);
}