Learn to Program with ZedLX

Free Online Programming Course for Beginners

Variables [12/14]

Both println statements print out the value of variable x.
[Run the program]

Exercise

Names of named arguments are separate from variable names.

1. Change the name of variable x to fg. Change it in all three places.
[Run the program]

Loading...