What will be the value of discountRate after the following statements are executed?

```
double discountRate;
char custType = 'B';
switch (custType)
{
case 'A':
discountRate = 0.08;
break;
case 'B':
discountRate = 0.06;
case 'C':
discountRate = 0.04;
default:
discountRate = 0.0;
}
```

a. 0.08
b. 0.06
c. 0.04
d. 0.0

d. 0.0

Computer Science & Information Technology

You might also like to view...

When adding optional parameters in a parameter list, what is a valid requirement?

A. The parameters must all be placed locally. B. The parameters must appear to the right of all mandatory parameters. C. The parameters must have constant values. D. The parameters must be defined globally.

Computer Science & Information Technology

One of the goals of incident management is to help users be more self-reliant.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology