how to convert this code to flowchart | Sololearn: Learn to code for FREE!


how to convert this code to flowchart


6/1/2020 10:18:50 AM


2 Answers

New Answer


Here are a couple easy tips to get you started. Look at each line and write down a few words that describe what the program is doing. What actions are taking place? These become processing blocks. Often you can combine the purpose of several lines into one processing block. Any line that can branch execution to either one place or another place in the code becomes a decision block. This includes if, switch, for, and while statements, and the ternary operator (?:,). Any data input or output statements such as cin, cout, become input or output blocks, respectively.


I don't know especially how to convert sort function