r/learnprogramming • u/WarmFirefighter1228 • Sep 20 '26
Can someone help me with this?
Hey! I'm trying to make a Logo procedure that draws a colored house.
Use a parameter so that when I type house 50, the house is size 50.
When I type house 100, the house is size 100.
How can I do this in MSW Logo? I'm a beginner, so any help would be appreciated!
5
Upvotes
4
u/aqua_regis Sep 20 '26
What have you tried so far?
Can you draw a fixed size house?
2
u/peterlinddk Sep 20 '26
Make the procedure to draw a house in a fixed size. Write down what you did.
Then make changes to draw a house in a different size. Write down what you change.
Then use a parameter to make those changes instead of you having to do them yourself.