This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
Can anyone write the code in core java-
Input three numbers through Scanner class in variables a,b c.
If a is inputted 1, b inputted null(or blank) and c inputted 3 then output should show a=1 & b=3.
If a is null(or blank), b is 1,c is 4, then output- b=1 & c=4.
If a is 1, b is 2, c is 3, then output- a=1,b=2 & c=3.