@ -21,12 +21,20 @@ public class CDPlayer implements Device {
@Override
public void louder() {
if(volume < 100) {
volume += 1;
} else {
volume = 100;
}
public void quieter() {
if(volume > 0) {
volume -= 1;
volume = 0;