wood burning stoves 2.0*
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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: 39576
    
  27
What was your response? What are your thoughts now that you've had time to think about it?


Ping & DNS - updated with new look and Ping home screen widget
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 ! !
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: solve this please
 
Similar Threads
User Defined Package Doubts
solve this please
static method not running
Vector sorting
Depth first search recursive, problem on graph[picture + code]