#include <cs50.h>
#include <stdio.h>
int main(void);
int alpha = 0;
while (alpha < 10)
{
printf("Hello, World\n");
alpha++;
}
error: expected identifier or '('
while (alpha < 10)
^
i am trying to make a finite loop to print hello world 10 times but the error keeps coming up. I googled it but all answers were for do-while loop. What is my mistake ?