Actions Problems
Calling Actions with a Return Value
In this task, you will call an action with a return value and store that value in a variable. The action you will call is the IceCreamConeRating. Read the action signature, action IceCreamConeRating(text flavor, integer scoops) returns text
, to help choose what parameter values to send the action. Do the same thing to help choose which variable to assign the returned value to. Finally, add the output block and change it so it ouputs the value returned from the action.
Programmers often name their variables poorly. In this case, parameter1 gives you no info about the value to send the action. Use types to help decode this action.