Question: Java explain how the following code functions please mainly the cents%= 2000 and (d20
Java explain how the following code functions please mainly the cents%= 2000 and (d20<=1?"":"s"));
d20 = cents/2000; cents%=2000;
System.out.println(d20+" twenty dollar bill"+(d20<=1?"":"s"));
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
