-
Notifications
You must be signed in to change notification settings - Fork 9
Practice: Read
Julia Ogris edited this page Aug 18, 2023
·
6 revisions
What does this program output?
s1 := read
print s1 s1
s2 := read
print s1 s2
Input
A
B
Choose one correct answer:
-
A:
A A B B
-
B:
A A A B
-
C:
A A B
-
D:
print "hello"
-
E: program errors
-
F: none of the above
Solution
CTBD: error cases
Write a program that echos the input 3 times.
Write a program that reads a colour and prints a 60 diameter circle in Center of canvas with colour.
Same as above. Read 2 colours, one for background, one for circle.
Overview | About | Playground | Gallery