Modulus Attempts
by BinaryAcid
HTML
<script src="http://jslib.dotcloud.com/fiddle-require.js"></script>
JavaScript
//var modulus = 23;
var time = 21;
var pm8 = 20%23;
var am6 = 6%23;
// 8pm (20) or if it is before 6am (6)
if ( time >= 6 && time <= pm8){
document.write('Extra charges apply between the times of '+ pm8 + am6);
}
else {
document.write('did not work')
}