summaryrefslogtreecommitdiff
path: root/1553/CH1/EX1.28
diff options
context:
space:
mode:
Diffstat (limited to '1553/CH1/EX1.28')
-rw-r--r--1553/CH1/EX1.28/1Ex28.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/1553/CH1/EX1.28/1Ex28.sce b/1553/CH1/EX1.28/1Ex28.sce
new file mode 100644
index 000000000..d3fe0d9a1
--- /dev/null
+++ b/1553/CH1/EX1.28/1Ex28.sce
@@ -0,0 +1,8 @@
+//chapter 1 Ex 24
+
+clc;
+clear;
+close;
+divisor=5; dividend=2^31;
+remainder=modulo(dividend,divisor);
+mprintf("The remainder is %d",remainder);