Loading...
Engaged employer
How do you write "a program for odd number" in single line without using an operator ?
Anonymous
var isOdd = number & 1 == 0 ? false : true
#include main(){printf("A Program for odd number");}
Check out your Company Bowl for anonymous work chats.
Get actionable career advice tailored to you by joining more bowls.
Stay ahead in opportunities and insider tips by following your dream companies.
Get personalised job recommendations and updates by starting your searches.