diff options
Diffstat (limited to '3808/CH8/EX8.2/Ex8_2.sce')
-rw-r--r-- | 3808/CH8/EX8.2/Ex8_2.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/3808/CH8/EX8.2/Ex8_2.sce b/3808/CH8/EX8.2/Ex8_2.sce new file mode 100644 index 000000000..c60adb6ad --- /dev/null +++ b/3808/CH8/EX8.2/Ex8_2.sce @@ -0,0 +1,12 @@ +//Chapter 08: Advanced Counting Techniques + +clc; +clear; + +no_cs=25 //no of students majoring in computer science +no_math=13 //no of students majoring in mathematics +no_mathcs=8 //no of students majoring in computer science and mathematics + +aub=no_cs+no_math-no_mathcs + +mprintf("The total no of students in the class is %d",aub) |