Home
Suva Programming
Home
SAP
Home
Shell Programming
Shell Programming to check odd and even numbers
Shell Programming to check odd and even numbers
Suva Programming
Thursday, November 12, 2020
Program :-
echo "Enter a number : "
read n
if["expr $n%2" -0]
then
echo "Even number"
else
echo "Odd number"
fl
Post a Comment
0 Comments
Categories
CPP
(64)
Java
(4)
Java Virtual Machine
(1)
SAP
(58)
Shell Programming
(4)
Popular Posts
What is TMG in SAP ?
Tuesday, May 07, 2024
SAP Program to find the addition of two numbers using function call
Monday, October 06, 2025
Program to calculate area of triangle in CPP
Monday, February 10, 2020
Contact Form
Name
Email
*
Message
*
0 Comments