diff options
Diffstat (limited to '1553/CH4/EX4.36/4Ex36.sce')
-rw-r--r-- | 1553/CH4/EX4.36/4Ex36.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/1553/CH4/EX4.36/4Ex36.sce b/1553/CH4/EX4.36/4Ex36.sce new file mode 100644 index 000000000..245bc67fb --- /dev/null +++ b/1553/CH4/EX4.36/4Ex36.sce @@ -0,0 +1,13 @@ +//chapter 4 Ex 36
+
+clc;
+clear;
+close;
+expenses=360; expCut=3; numdaysCut=4;
+
+for n=1:99
+ if n^2+4*n-480==0
+ break;
+ end
+end
+mprintf("Mr. Bhaskar is on tour for %d days",n);
|