Usetutoringspotscode to get 8% OFF on your first order!

  • time icon24/7 online - support@tutoringspots.com
  • phone icon1-316-444-1378 or 44-141-628-6690
  • login iconLogin

Java Array Math

Create a 10 x 10 two dimensional array of int data type (Remember that arrays start with 0, not 1.
– Load each index in the array with the multiplication of each (row * column) location
– Using printf display the content of each index, ALIGNED.
– Create an algorithm using a loop that will add all the values in all odd columns, and print their total aligned below the column.
– Print the addition of all values in each index in the array. This is a sum of all the elements of the array.
A Java submission must compile and run from the command line or it will earn a 0 and
will not be graded further. Do not include package statements or this will happen.

You can leave a response, or trackback from your own site.

Leave a Reply

Powered by WordPress | Designed by: Premium WordPress Themes | Thanks to Themes Gallery, Bromoney and Wordpress Themes