1.5.3 How to Represent If/Else Statements in an Activity Diagram

For this example we will be using the code below:

This code in an Activity Diagram would look like:

In English this would be read as:
If the food is good, then assign the Rating to 4...
If it is anything else, assign it to 1.