Main.c: In function 'main':Main.c:7:37: error: expected ';' before '}' token 7 | printf("%d",((1+n) * n / 2)) | ^ | ; 8 | } | ~