Write the shell script for printing the odd number between a range.
Answers
Answered by
0
Answer:
echo “First Odd and Even number till 30 are”
n=1.
while [ $n -lt 30 ]; do.
out=$(( $n % 2 ))
if [ “$out” -eq 0 ] then.
echo “$n is even number”
else.
echo “$n is ODD number”
Explanation:
plz mark me as brainliest
Similar questions