Search Results

Search: Posts Made By: aswin
8,459
Posted By aswin
Display number from 10 to 1 using shell programming in while loop
echo "enter the number"
read n
while [ $n -ge 0 ]
do
echo "$n"
let n--
done
2,470
Posted By aswin
Display number from 10 to 1 using shell programming in while loop
display number from 10 to 1 using shell programming in while loop and using read n numbers
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 03:52 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy