Разделите Intagers JavaScript
var quotient = Math.floor(y/x);
var remainder = y % x;
Prickly Penguin
var quotient = Math.floor(y/x);
var remainder = y % x;
var y=11;
var x=4;
var quotient = Math.floor(y/x); //2
var remainder = y % x; //3
var quotient = Math.floor(y/x);
var remainder = y % x;
var div = Math.trunc(y/x);
var rem = y % x;