In my Journey of learning C, what i used to make decision / branch is :
- IF - Else
- Switch - Case
If -Else :
heres a Flowchart of decision making to help you understand.
now lets move to the Code. im using Code::Blocks, Download it for free, see the tutorial in my last week's post.
this Tutorial is showing about giving a Grade A/B/C to According to your Score
Switch-Case :
and for the Code :
Hope This pst will help.
Peace!