#include<stdio.h>
#include<conio.h>
int main()
{
int i;
clrscr( );
for(i=1; i<=20; i++)
if(i%2==0)
{
printf("\n The given number is even %d",i);
}
else
{
printf("\n The given number is odd %d",i);
}
getch( );
return 0;
}
To run:
output:
#include<stdio.h>
#include<conio.h>
int main()
{
int i;
clrscr( );
for(i=1; i<=20; i++)
if(i%2==0)
{
printf("\n The given number is even %d",i);
}
else
{
printf("\n The given number is odd %d",i);
}
getch( );
return 0;
}
To run:
output:
We are the team of The Engineers Choice Group. We are two people Anish & Shiva..Anybody Interested to learn Something then contact us in facebook page , my whatsapp number 9807100890 and Email theengineerschoice01@gmail.com
Copyright (c) 2020 The Engineer's Choice All Rights Reserved
No comments:
Post a Comment
theengineerschoice01@gmail.com