The condition on the if statement below to set the taxRate to 0.15 for the residents of the states of New Jersey and New York would be (assume the variable state has been declared and has a value): if (condition)      taxRate = 0.15;单项选择题

A

state == "NJ" || state == "NY"

B

state == "NJ" && state == "NY"

C

state == "NJ" && "NY"

D

state = "NJ" || state = "NY"

登录即可查看完整答案

我们收录了全球超50000道真实原题与详细解析,现在登录,立即获得答案。

更多留学生实用工具

加入我们,立即解锁 海量真题独家解析,让复习快人一步!