0
how to convert this code to flowchart
2 Antworten
+ 1
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.
0
I don't know especially how to convert sort function