diff options
Diffstat (limited to '1553/CH1/EX1.16/1Ex16.sce')
-rw-r--r-- | 1553/CH1/EX1.16/1Ex16.sce | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/1553/CH1/EX1.16/1Ex16.sce b/1553/CH1/EX1.16/1Ex16.sce new file mode 100644 index 000000000..032ddb1b4 --- /dev/null +++ b/1553/CH1/EX1.16/1Ex16.sce @@ -0,0 +1,9 @@ +//chapter 1 Ex 16
+
+clc;
+clear;
+close;
+dividend=1672;
+divisor=17;
+leastN=modulo(dividend,divisor); //remainder
+printf("The least number to be subtracted is %d",leastN);
|