summaryrefslogtreecommitdiff
path: root/3808/CH1/EX1.7/Ex1_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '3808/CH1/EX1.7/Ex1_7.sce')
-rw-r--r--3808/CH1/EX1.7/Ex1_7.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/3808/CH1/EX1.7/Ex1_7.sce b/3808/CH1/EX1.7/Ex1_7.sce
new file mode 100644
index 000000000..681c15a5e
--- /dev/null
+++ b/3808/CH1/EX1.7/Ex1_7.sce
@@ -0,0 +1,10 @@
+//Chapter 01: The Foundations: Logic and Proofs
+
+clc;
+clear;
+
+p="Maria learns discrete mathematics"
+q="Maria will find a good job"
+mprintf("Let p=%s \n Let q=%s",p,q)
+mprintf("\np->q is : If %s then %s",p,q) //p->q p implies q means If p then q.
+mprintf("\np->q is also expressed as :%s when %s",q,p)