기타/컴퓨터공학

프로그램 작성법

바로이순간 2011. 12. 8. 10:27

Tips: Don't forget top-down design and stepwise-refinement techniques.

Develop the program one game (module) at a time.

Build each module by steps.

 

For example, complete the code to get a random generated number first (pp. 133-134)

then gradually build the module to get user input,

compare the random generated number(s) with user number(s) and finally accumulate the wins.