Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

What will this output be

$
0
0
What will this output be assuming the arrays have been filled with some integers

for (int i =2; i < values.length; i++)
{
int sum= values [i+1] + values[i-2];
System.out.print(sum+ " ");
}

Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>