diff options
Diffstat (limited to '260/CH1/EX1.20/1_20.sce')
-rw-r--r-- | 260/CH1/EX1.20/1_20.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/260/CH1/EX1.20/1_20.sce b/260/CH1/EX1.20/1_20.sce new file mode 100644 index 000000000..603ecd34e --- /dev/null +++ b/260/CH1/EX1.20/1_20.sce @@ -0,0 +1,12 @@ +//Eg-1.20
+//pg-35
+
+clear
+clc
+
+summ=0;
+for i=1:9;
+ summ=summ+i;
+end
+disp("sum of first 9 natural no.s")
+disp(summ)
\ No newline at end of file |