Computer Science, asked by dave7655, 1 year ago

Read a number and find whether the number is odd or even in script

Answers

Answered by Anonymous
0

\huge\mathbb\green{BONJOUR,}

\huge\mathfrak{Answer:}

Shell Script to find Number is Even or Odd. This is a basic shell script to find whether given number is even or odd. Here we use a simple condition rem=$(( $n % 2 )) to check the number is even or not. If the remainder is 0 then the number is Even else it is odd.

<font color ="purple"><marquee behavior ="alternate"> ~♥~~♥~Hope It Helps~♥~~♥~</font color ="purple "></marquee behavior="alternate">

\huge\mathfrak{Regards}

\huge\mathbb\red{Aaravxxx}

Similar questions