CB Login
Shout Box
Latest Message: 2 months ago
- Alyse: zomg!
- putis: ;)
- nah: hey sexy
- bobby lovela: HELLO.....Hello.....hello.....
- Brendan flos: splash
- Matt: RAWR!!!!!
- Alyse: o.O
- *Nurta suggests if the sb is being weird, you ctrl-f5
- *Nurta goes buahaha
- *Nurtaisdone
Guests are shown between [].
Only registered users are allowed to post
| Programming Puzzler |
|
|
|
| Written by Nurta | |||||||
| Thursday, 19 February 2009 16:13 | |||||||
|
I came accross a basic java programming puzzle, which was really easy, but I made it a little funner by adding an extra element, so the challenge is:
Given 2 int values, return true if either of them is in the range 10..20 inclusive, using 2 or less comparators (==,<,<=,>,>=,!=,?).
See what we come up with in the comments.
Powered by !JoomlaComment 4.0alpha3
!joomlacomment 4.0 Copyright (C) 2009 Compojoom.com . All rights reserved." |
|||||||
| Last Updated on Friday, 29 May 2009 18:16 |




