modified and updated

This commit is contained in:
sherlock 2025-04-11 08:30:13 +05:30
parent 44e766514e
commit 6ff1894732
6 changed files with 674 additions and 7 deletions

View file

@ -1,8 +1,6 @@
read -p "Enter a number: " num
if [[ $num -gt 10 ]]; then
echo "Number is greater than 10"
elif [[ $num -eq 10 ]]; then
echo "Number is exactly 10"
else
echo "Number is less than 10"
if [[ $# -lt 3 ]]; then
echo "Usage: $0 <filename1> <filename2>"
exit 1
fi
if