summaryrefslogtreecommitdiff
path: root/911/CH2/EX2.1.a/ex_2_1_a.sce
diff options
context:
space:
mode:
Diffstat (limited to '911/CH2/EX2.1.a/ex_2_1_a.sce')
-rw-r--r--911/CH2/EX2.1.a/ex_2_1_a.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/911/CH2/EX2.1.a/ex_2_1_a.sce b/911/CH2/EX2.1.a/ex_2_1_a.sce
new file mode 100644
index 000000000..dbb21dd4e
--- /dev/null
+++ b/911/CH2/EX2.1.a/ex_2_1_a.sce
@@ -0,0 +1,10 @@
+//example 2.1(a)//
+clc
+//clears the screen//
+clear
+//clears all existing variables//
+a=275.75;
+//numbers in decimal form//
+b=37.875;
+c=a+b;
+disp(c,'Addition of given two numbers = ') \ No newline at end of file