div(k,l) { var d; if (l == 0) { return; } print (k/l); } mod(n,m) { var tmp; if (n == 0) { return; } tmp = n; while(tmp>= m){ tmp = tmp -m; } print tmp; } main() { //main >> n/m \n n%m var n,m; n=15; m=5; div(n,m); println; mod(n,m); }