#include <stdio.h>
#include <conio.h>
main()
{
int n;
printf("ENTER A NUMBER: ");
scanf("%d",&n);
if(n%2==0)
{
printf("%d is an even number",n);
}
else
{
printf("%d is an Odd number",n);
}
}
//2,4,6,8,10,....even
//1,3,5,7,9...... odd
My Name Is Salman Masood , I am Computer Science &Amp; Maths Graduate from University of Karachi, Pakistan , Teaching Is My Passion and My Aim Is to Deliver All My Knowledge among Those Students Who Can'T Afford Tutors or Expensive Institute Fees. I Will Be Keep Sharing My All Knowledge and Information with You .... Remember Me in Your Prayers !
Controller Code: using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using ...
No comments:
Post a Comment