summaryrefslogtreecommitdiff
path: root/260/CH1/EX1.4/1_4.sce
blob: c0469f5a574c93c3241c053ba509ca2f30f777e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//Eg-1.4
//pg-13

clear
clc


a=input("enter any number")
r=a-round(a/2)*2;
if r==0 then
    disp("even number")
else
    disp("odd number")
end