0

how to convert this code to flowchart

https://code.sololearn.com/cNvrPSWaX1H4/?ref=app

1st Jun 2020, 10:18 AM
Shahed
Shahed - avatar
2 Réponses
+ 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.
1st Jun 2020, 11:01 AM
Brian
Brian - avatar
0
I don't know especially how to convert sort function
1st Jun 2020, 10:32 AM
Shahed
Shahed - avatar