From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 1553/CH4/EX4.36/4Ex36.sce | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 1553/CH4/EX4.36/4Ex36.sce (limited to '1553/CH4/EX4.36/4Ex36.sce') 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); -- cgit