Problem Solving with the Sequential Logic Structure. Chapter 5. Review. Recall that the: Algorithm: set of instructions telling the computer how to process a module in a solution. A flowchart: visual illustration of an algorithm. In this chapter you will learn how to:
Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.
Exit is used to end a subordinate module if there is no return value .
average = sum ( num1 , num2) / 2
module name ( list of parameters)
x x.End,Exit,or Return (variable )
The algorithm and flowchart to enter a name and age into computer and print it on the screen.
Notice that the algorithm instructions are numbered starting with the first instruction after the name of module
Amount = p * (1+I/M)^(N*M)