diff options
Diffstat (limited to '964/CH3/EX3.6/3_6.sce')
-rwxr-xr-x | 964/CH3/EX3.6/3_6.sce | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/964/CH3/EX3.6/3_6.sce b/964/CH3/EX3.6/3_6.sce new file mode 100755 index 000000000..191dd3ba7 --- /dev/null +++ b/964/CH3/EX3.6/3_6.sce @@ -0,0 +1,8 @@ +clc;
+clear;
+num=input("Input a number: ")
+sum=0;
+for i=1:100000
+ sum=sum+num;
+end
+disp(sum,"The number summed up 100,000 times is=")
\ No newline at end of file |