Thread: question

  1. #1
    Registered User
    Join Date
    Sep 2009
    Posts
    1

    question

    write a program to check whether a given number is odd or even without using conditional operator.

  2. #2
    Registered User
    Join Date
    Jan 2005
    Posts
    7,366
    Welcome to the boards. If you haven't already done so then please take some time to familiarise yourself with the faq:
    Cprogramming.com FAQ

    Make sure you have a look at the the posting guidelines:
    C Board - Announcements in Forum : C++ Programming
    Following the rules will ensure you get a prompt answer to your question.

    Remember, too, that the board has a search facility, a link is at the top of your screen:
    C Board - Search Forums
    It will often get you a quicker answer to your questions than waiting for a response to one you have posted.


    If you have any questions about this you may ask or you can contact one of our forum leaders:

    C Board - Show Groups

  3. #3
    and the hat of sweating
    Join Date
    Aug 2007
    Location
    Toronto, ON
    Posts
    3,545
    Quote Originally Posted by sabyasachi View Post
    write a program to check whether a given number is odd or even without using conditional operator.
    I don't see any question there.
    "I am probably the laziest programmer on the planet, a fact with which anyone who has ever seen my code will agree." - esbo, 11/15/2008

    "the internet is a scary place to be thats why i dont use it much." - billet, 03/17/2010

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Alice....
    By Lurker in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 06-20-2005, 02:51 PM
  2. Debugging question
    By o_0 in forum C Programming
    Replies: 9
    Last Post: 10-10-2004, 05:51 PM
  3. Question about pointers #2
    By maxhavoc in forum C++ Programming
    Replies: 28
    Last Post: 06-21-2004, 12:52 PM
  4. Question...
    By TechWins in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 07-28-2003, 09:47 PM
  5. Question, question!
    By oskilian in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 12-24-2001, 01:47 AM