Limited access

Upgrade to access all content for this subject

All of the following code segments produce a compile-time error EXCEPT:

A
int numVowels == 0;
B
double 2salaries = 75000.50;
C
double d = 533.256;
int i = d;
D
int count = 0, sum = 200;
int average = sum / count;
E
double taxPct = .0765, salary = 50000;
double tax = salary * taxPCT;
Select an assignment template