Answer:
b. cart total + 1
Explanation:
A. cart total=1 do increment the total with every 1 click here, it only 're-assigns cart total with value 1 for every click, hence it's always 1.
B. In every click, 1 is always added to the previous value of cart total, like addItemButton(cart total+1) or so.
C. This would have worked too if "cart total" and "cartTotal" where of same type.
D. cart total is just being initially defined here.
E. Likewise here, var shows that cart total has just only been declared.
Rounding Numbers
Say you wanted to round the number 838.274. Depending on which place value you'll round to, the final result will vary. Rounding 838.274:
Rounding to the nearest hundred is 800
Rounding to the nearest ten is 840
Rounding to the nearest one is 838
Rounding to the nearest tenth is 838.3
Rounding to the nearest hundredth is 838.27
Answer:
??
Explanation:
?? is invalid syntax
When declaring or initializing variables names, and when writing methods, or arguments ?? is not used in Java .
() [] {} all these are used with variables , methods or arguments.
A should be the answer... not having the website will cause you to have to everything by call and things like that ... plz brainliest.