In closing. structures and operators are a very Important topic to be discussed be cause they will reflect the overall programming output, tryout and results as well as to any future programming task that required a proper structure to be executed
0 4 – Understardng Programming Structures -While Loop, Do-while loop and For Loop: weer 4
In week 4. the Looping topic is dimdec by sections such as Rhile Loop. Do•whils Loop, For Loop. Combinsdlon of programming Structures. and Understanding the Reasons for Structures. Comparing while loop and do-while loop both are used to attribute a se-quence of action in the program but, While Loop depends on the answer ot a question to execute a procedure and Do-While Loop depends on the controlling queston. On the other hand. For Loop only executes an action if a condition is true, otherwise it does not work. While looping as an example below using a flowchart
In order to determine a proper structure to use on a flow-thart when using a loopinu method is very important because It will determine the expected output or Its ?allure. To conclude. the loop and its different methods of application are such an addtional and useful tool that allows a user to take different actions when oodPg which means, it opens up to a more complex coding and outputs than lust a simple coding. Through it. is possible to get the difference between two statements repeatedly Jntil the lion and/or result oomes out. LULU
The post Understardng Programming Structures appeared first on My Assignment Online.