DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Uses an array need help please!!!

  1. #1
    Join Date
    Mar 2011

    Uses an array need help please!!!

    ***This program can be written in either Visual Basic or C++***

    Write a program that declares an array to hold 10 integers the integers will be entered by the user. Once the array is populated write the necessary code to:
    Sum all of the numbers in the array
    Print out the largest and smallest numbers in the array
    Print out the average of the numbers in the array
    The output should appear as follows:
    The sum of the numbers in the array are:
    The largest number in the array is:
    The smallest number in the array is:
    The average of the numbers entered into the array is:

  2. #2
    Join Date
    Apr 2007
    Sterling Heights, Michigan
    Welcome to DevX

    What is your question?

  3. #3
    Join Date
    Nov 2003
    Alameda, CA
    Welcome nywresting,

    please read the Netiquette of the forum:

    Homework help will be tolerated only if the poster shows significant interest and past effort in having worked on the problem already and questions are narrowly posed. It is acceptable to ask for help to get past a hurdle in your exercise, but do not post an exam question and expect the community to provide the answer.

    As Hack requested, please write down some code or asks a specific question, people here will be more than glad to help you.
    "There are two ways to write error-free programs. Only the third one works."

Similar Threads

  1. Replies: 27
    Last Post: 02-11-2016, 06:29 AM
  2. Reversing an Array
    By Tmcclain in forum Java
    Replies: 7
    Last Post: 02-13-2009, 11:57 PM
  3. redim help !!!
    By angelito in forum VB Classic
    Replies: 1
    Last Post: 11-21-2005, 07:16 AM
  4. Dynamically allocating a 2d array
    By nnp in forum C++
    Replies: 6
    Last Post: 11-01-2005, 10:05 AM
  5. Replies: 2
    Last Post: 04-15-2005, 09:06 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center