#include <stdio.h>
/* print Fahrenheit-Celsius table */
main()
{
        int fahr;

        for (fahr = 0; fahr <=300; fahr = fahr + 20)
                printf("%3d %6.1f\n", fahr, (5.0/9.0) * (fahr-32) );
}

처음으로 c언어 공부를 하고 있는데요....
책은 c언어 프로그래밍 언어 라는 책을 보고 있어요
위의 글이 화씨온도가 0일 때부터 300일때 까지  계산한거라고 책에 되어있는데요
이걸 300부터 0까지 계산하는 프로그램으로 하려면 어느걸 고쳐야 하나요....
아 그리고 죄송합니다만 처음 배우는데 도움 될만한 사이트 있을까요

#include <stdio.h> // 30 페이지 단어 갯수 세기 프로그램
#define IN 1 //inside a word
#define OUT 0 //outside a word

// count lines, worlds, and characters in input
main()
{
        int c, nl, nw, nc, state;

        state = OUT;
        nl = nw = nc = 0;
        while((c = getchar()) != EOF){
                ++nc;
                if (c == '\n')
                        ++nl;
                if (c ==''||c =='\n' ||c =='\t')
                        state = OUT;
                else if (state == OUT){
                        state = IN;
                        ++nw;
                }
        }
        printf ("%d %d %d\n", nl, nw, nc);}
}
이거 에러가 2개 있다고 뜨는데 도저히 찾다가 모르겠어서 글 올립니다...
에구구구 책보고 그대로 하는대도 못하는... 난감하네요..