JSFiddle - React, Tailwind, and code Playground

by salt

JavaScript

var x=1801;
var y=5;
var quotient = Math.floor(y/x);
var remainder = y % x;
alert(remainder);