Question: Drag the code blocks into the area below to create a function called counter. The function should: Display the message Hellc Watch me count! The

Drag the code blocks into the area below to create a
function called counter. The function should:
Display the message Hellc Watch me count!
The blank will be filled with a function argument
Run a for loop to display numbers 1-10 each on its own line
After closing the function, call the function with the argument
Tobias
Click the button below to submit.
Drag from here
for i in [1..10]
function counter {
exit
}
echo "Hello $1! Watch me count!"
done
echo $ ?
counter Tobias
do
echo $i
echo "Hello Tobias! Watch me count!"
function counter (
for i in {1..10}
Construct your solution here
 Drag the code blocks into the area below to create a

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!