写程序的步骤:
Step1: Define the Program Objectives.
找到你写程序的目标知道你要干什么。
Step2: Design the Program.
设计你的程序,知道你的程序需要什么变量,需要什么数据,并且熟知一些程序语法。
Step3: Write the Code.
知道你的目的和设计程序的要点后,开始根据你所用语言的语法,设计你所需要的代码。
Step4: Compile
Step5: Run the Program
Step6:Test and Debug the program.
测试和调试程序。
Step7: Maintain and Modify the Program.
保持和维护程序,为了程序的、更好的维护,在设计的时候尽量把,程序设计到位,做好第一步和第二步。