*
The moose likes Programming Diversions and the fly likes solve this please Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Other » Programming Diversions
Reply locked New topic
Author

solve this please

teja dharma
Ranch Hand

Joined: Feb 07, 2009
Posts: 51
In one of my recent interviews i appeared, they asked a question like this.
when you run" java filename n1 n2 n3 n4" here n1,n2 are integers. n3,n4 are floats.
you must get the output as result of (n1/n2) ,(n3/n4) .
please frame a programme which satisfies the above question.

SCJP 5
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41621
    
  55
What was your response? What are your thoughts now that you've had time to think about it?


Ping & DNS - my free Android networking tools app
James Tharakan
Ranch Hand

Joined: Aug 29, 2008
Posts: 580

Why did you post the same question in SCJP also.
CrossPost not appreciated


SCJP 6
Why to worry about things in which we dont have control, Why to worry about things in which we have control ! !
 
jQuery in Action, 2nd edition
 
subject: solve this please