172k views
5 votes
Given an integer variable bridgeplayers, write an statement that increases the value of that variable by 4.

User Tomeka
by
7.9k points

1 Answer

5 votes
bridgeplayers += 4

If your programming language does not support +=, use

bridgeplayers = bridgeplayers + 4
User ModX
by
6.3k points