ScratchData LogoScratchData
Back to JuniLearning's profile

G10 My First Functions Solution

JUJuniLearning•Created July 11, 2017
G10 My First Functions Solution
0
0
144 views
View on Scratch

Instructions

We're going to practice making functions! 1. Create a function that will say a given STRING a given NUMBER of times. For example, I put "Lalala" and "4" into the function, the sprite will say "Lalala" 4 times. 2. Create a function that will add together four NUMBERS. For example, if I put "1, 2, 3, 4" into the function, it will add the 4 numbers and the sprite will say the total sum. 3. Make a function that will spell a given STRING backwards. For example, if I put "ORANGE" into the function, the sprite will say "E-G-N-A-R-O." 4. Make a function that will find the average of two NUMBERS. For example, if I put "4" and "8" into the function, the sprite will say "6." Make sure you test these functions by getting the right inputs from the user when the green flag is clicked and then running the function!

Project Details

Project ID168597592
CreatedJuly 11, 2017
Last ModifiedFebruary 8, 2019
SharedJuly 11, 2017
Visibilityvisible
CommentsAllowed