summaryrefslogtreecommitdiff
path: root/1553/CH1/EX1.28/1Ex28.sce
blob: d3fe0d9a144750144f7f136bdd0f67e900c128b8 (plain)
1
2
3
4
5
6
7
8
//chapter 1 Ex 24

clc;
clear;
close;
divisor=5; dividend=2^31;
remainder=modulo(dividend,divisor);
mprintf("The remainder is %d",remainder);