94.5k views
0 votes
The following declaration appears in a program: short totalPay, basePay = 500, bonus = 1000; The following statement appears in the same program: totalPay = basePay + bonus; Will the statement compile properly or cause an error? If the statement causes an error, why? How can you fix it?

User Ostin
by
7.0k points

1 Answer

6 votes

if u want to fix try to by a bundle and go to online and fix it

User GeneQ
by
7.2k points