diff options
Diffstat (limited to '1553/CH4/EX4.39/4Ex39.sce')
-rw-r--r-- | 1553/CH4/EX4.39/4Ex39.sce | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/1553/CH4/EX4.39/4Ex39.sce b/1553/CH4/EX4.39/4Ex39.sce new file mode 100644 index 000000000..8de543128 --- /dev/null +++ b/1553/CH4/EX4.39/4Ex39.sce @@ -0,0 +1,8 @@ +//chapter 4 Ex 39
+
+clc;
+clear;
+close;
+hens=50; goats=45; camels=8; numFeet=224;
+numKeepers=numFeet-((goats*4+camels*4+hens*2)-(hens+goats+camels));
+mprintf("The total number of keepers are %d",numKeepers);
|