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"); +}