summaryrefslogtreecommitdiff
path: root/3808/CH6/EX6.2/Ex6_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3808/CH6/EX6.2/Ex6_2.sce')
-rw-r--r--3808/CH6/EX6.2/Ex6_2.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/3808/CH6/EX6.2/Ex6_2.sce b/3808/CH6/EX6.2/Ex6_2.sce
new file mode 100644
index 000000000..407f66fa1
--- /dev/null
+++ b/3808/CH6/EX6.2/Ex6_2.sce
@@ -0,0 +1,11 @@
+//Chapter 06: Counting
+
+clc;
+clear;
+
+letters=26 //Total no of letters in the english alphabet
+post=100 //Total positive no.s not beyond 100
+sol=letters*post
+
+//number of chairs to be labelled with an alphabet and an integer using product rule
+mprintf("Total number of chairs that can be labelled with an alphabet and an integer is %d",sol)