move shell scripts and zsh and add fav vscode themes

This commit is contained in:
writer 2024-10-16 14:34:03 +09:00
parent 40077637ce
commit e6794a8954
43 changed files with 55 additions and 34 deletions

View file

@ -0,0 +1,18 @@
#! /bin/bash
n=0
on=0
fact=1
echo -n "Enter number to find factorial : "
read n
on=$n
while [ $n -ge 1 ]
do
fact=`expr $fact \* $n`
n=`expr $n - 1`
done
echo "Factorial for $on is $fact"