Hey everyone, I've just started programming and decided to start with C. I have written this program but it will not run and I was wondering if anyone could help me? Your help would be greatly appreciated.
1. #include (stdio.h)
2. void Main (void) {
3. char c;
4. printf("Enter a sentence:\n");
5. scanf("%c", &c);
6. while (c != ".") {
7. printf("%c\n", c);
8. scanf("%c", &c);
9. }
10. printf(".\n");
11. }