Dev C++ odd or even codes

March 11, 2008

This is my code of odd and even problem in dev c++. Hope this codes help you!

#include <stdio.h>
#include <conio.h>

int main()
{
int number;

printf("Enter a Number: ");
scanf("%d", &number);

if (number % 2 == 1 )
{
printf("\nOdd Number");
}
else
{
printf("\nEven Number");
}
getch();
}

1 Comment »

The URI to TrackBack this entry is: http://iloveyoubee.blogsome.com/2008/03/11/dev-c-add-or-even-codes/trackback/

  1. YFC ILC NEWS: We are Extending the registration to give chance to those who still like to take part in YFC`s 15th year. Extended Deadline March 15,2008 5pm ( Saturday). Contact your FTW, MV,YFC Coordinators, YFC Sector Heads and Program Heads.

    The CFC-Youth For Christ will be having its’ 15th INTERNATIONAL LEADERS CONFERENCE this coming April 4-6 at Tagaytay, Philippines. The Registration for the said event is 1000Php. and the fare fee is 3,500Php. Guys, can i ask some donations from you?? I had already paid the registration fee and now i still have to pay for my Fare. Guys, as a lessfortunate person…can i ask something from you? :D please.

    The conference will be attended by the all YFC members Global. It is the biggest gathering of the community which is just held yearly. So if i couldn’t be there it will be a lost of mine! huhuhu…Guys please give to me your excess profit! hehe..Guys please. I really want to be there.

    My PAYPAL Acoount is aldwincapin16@yahoo.com

    Please help me guys! :D

    -Aldwin Capin

    Hoping :D

    Comment by aldwin — March 11, 2008 @ 2:00 am

RSS feed for comments on this post.

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>



Anti-spam measure: please retype the above text into the box provided.

Get free blog up and running in minutes with Blogsome | Theme designs available here