17.8k views
1 vote
The following program is run. Then the user clicks the "bottomButton" TWO TIMES. What will be displayed in the console?

A. aaa
bbb
ccc
ccc
ddd
B. bbb
ddd
ccc
ccc
C. bbb
ddd
aaa
aaa
D. bbb
ccc
ccc
ddd

The following program is run. Then the user clicks the "bottomButton" TWO-example-1
User Etoropov
by
4.3k points

1 Answer

4 votes

Answer:

d or b

Step-by-step explanation:

its obviously not a or c because they don't have a single "ccc" in them

User Sjoerd De Wit
by
3.8k points