Answer:
b. 80.0
Step-by-step explanation:
Given
![dependent = 1](https://img.qammunity.org/2022/formulas/computers-and-technology/college/ocmlgrrzm0koubdsmuvvg8adgic57f3xde.png)
![grossPay = \$400](https://img.qammunity.org/2022/formulas/computers-and-technology/college/mq6cnt704ckprz8wcekny4lqai1f8o9ntp.png)
Required
Determine the returned value
The following condition is true for: dependent = 1
else if (dependnets == 1)
withheldAmount = 0.2;
The returned value is calculated as:
![withheldAmount = grossPay * withheldAmount;](https://img.qammunity.org/2022/formulas/computers-and-technology/college/j47wbc2dmstaduy6k1s5scrjpm7s8fx9no.png)
This gives:
![withheldAmount = 400 * 0.2](https://img.qammunity.org/2022/formulas/computers-and-technology/college/3x3hekk3g83mshe2q5xpwciavkwtuqwd34.png)
![withheldAmount = 80.0](https://img.qammunity.org/2022/formulas/computers-and-technology/college/owrzv619514dlzn07hdbrvi6qqncbzn2p7.png)
Hence, the returned value is 80.0