Thread: Array Question

  1. #1
    Registered User
    Join Date
    May 2011
    Location
    Ireland
    Posts
    13

    Question Array Question

    Code:
    Could someone answer this:
    Consider:
    int[] scores1 = {2,5,8,10}
    int [] scores2 = {5,6,8,12}
    int result;
    int total;
    write a statement that multiplies 1st element of scores1 array by last element of the scores2 array and assisgns the result to the result variable??

  2. #2
    Registered User
    Join Date
    Dec 2007
    Posts
    2,675
    Guess you missed this announcement

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Array question
    By rassul in forum C Programming
    Replies: 11
    Last Post: 01-14-2011, 02:02 AM
  2. Replies: 12
    Last Post: 11-21-2010, 09:46 AM
  3. array question
    By skiabox in forum C Programming
    Replies: 3
    Last Post: 11-21-2010, 09:44 AM
  4. array question...
    By jerrykelleyjr in forum C Programming
    Replies: 14
    Last Post: 10-29-2006, 02:03 PM
  5. array question
    By ProLin in forum C++ Programming
    Replies: 5
    Last Post: 01-21-2002, 05:52 PM