The issue is in this line:
for (int k = 1, k <19, k++);
In a for statement, you should separate elements with a semicolon (;
)
for (int k = 1; k <19; k++)
There’s also no (;
) at the end of it.
Also, you should include <stdio.h>
instead of <sdio.h>
.
CLICK HERE to find out more related problems solutions.