162k views
4 votes
Assign 20 to variables x, y and z in a single statement.

User Edelans
by
5.2k points

1 Answer

5 votes

Answer:

x=y=z=20

Step-by-step explanation:

This assigns the same value, which is 20 to multiple variables

User John Kakon
by
5.5k points