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 );
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!