Generation

code to explanationWed, 07 Dec 2022

#include <stdio.h> int main() { int n,*num; scanf("%d",&n); num=&n; if(n%2==0) printf("%d is even .\n",*num); else printf("%d is odd .\n",*num); return 0; }

#include <stdio.h> int main() { int n,*num; scanf("%d",&n); num=&n; if(n%2==0) printf("%d is even .\n",*num); else printf("%d is odd .\n",*num); return 0; }

Want to kickstart your project?Use the new AI Studio to create your code