Answer to Question #19685 in AJAX | JavaScript | HTML | PHP for nohra

Question #19685
What is the output of this code sequence? double [ ] a = { 12.3, 99.6, 48.2, 65.8 };
double temp = a[0];
for ( int i = 1; i < a.length; i++ )
{
if ( a[i] > temp )
temp = a[i];
}
System.out.println( temp );
1
Expert's answer
2012-11-28T07:21:00-0500
99.6

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS