6.3.1 hierarchical structure (sequential structure)A program that works as a step to solving the problem is to work according to the instructions written, respectively. From the first to the last command. By the command in this case may be a single command or a command is a complex one with many sub commands together in a way as a structured alternative or loop it.Linear structure, when writing a job will look like Figure 6.9, and there are function based 3 types, as shown in Figure 6.10:-Calculation of a process computer calculation processing that will include values are assigned to variables so that they can bring the value of the variable that is used later.– Receiving information is the process of retrieving data from a device of the unit input, such as the keyboard to bring the value to assign to a variable and store it in memory.– The transmission is the process of taking the information to display the device's output unit, such as a monitor or printer. The data to be sent by the General to become a fixed value or the value of a variable.In an action to resolve the problem with the computer. These processes must be converted to the format of the commands several commands to allow for work on the steps that have been designed, such as calculation loop krop in increasing the value of the variable counter to another using the command "< counter counter + 1" process is the data to store in the variable x will use the "x input" and route packets to a monitor to display the average of the variable using the command "print" average, etc.
การแปล กรุณารอสักครู่..
