From f65e8e41cb5ae48245bb6731caa0b9d3b255d4eb Mon Sep 17 00:00:00 2001 From: harshrockzz <56030025+harshrockzz@users.noreply.github.com> Date: Tue, 1 Oct 2019 21:25:57 +0530 Subject: [PATCH] Create odd or even --- harsh2/odd or even | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 harsh2/odd or even diff --git a/harsh2/odd or even b/harsh2/odd or even new file mode 100644 index 0000000..17761ae --- /dev/null +++ b/harsh2/odd or even @@ -0,0 +1,11 @@ +#include +void main() +{ +int a; +scanf("%d",&a); +printf("Enter the number "); +if(a%2==0) +printf("even"); +else +printf("odd"); +}