Professional Documents
Culture Documents
FUNCTIONS
Ruwaya saif
12.51CAI
02
Page 1
• I made a function called introduceMyself that prints "My name is
Ruwaya and I'm a student” the called the function to display the
message.
Page 2
• A assigned a variable called steps to 0, then made a function
called incrementSteps and in it I added 1 to steps then printed
it. I called the function a couple of times to see the output.