C++, computer science, Basic Computer Science

You are to code a C++ program that will read the file IntList into an integer array. There are no more than 20 integers in the file. After all of the data is read into the file, find and print the following items: count of all the numbers; sum of all of the numbers; average of the numbers (make the average a double variable and print the average to at least 1 decimal place). When these statistics are computed and printed, have the program examine each of the numbers and print all of them that are larger than the average.

Finally, use the Selection Sort from the book to arrange the numbers into ascending order. Print the numbers one more time after they are sorted.

Be sure to use comments to show all that you are doing. Print your code and give me a copy of it. Then let me see it run in lab. Use your last name plus Lab6 as the name of the file.
Posted Date: 3/21/2012 3:19:53 PM | Location : United States







Related Discussions:- C++, computer science, Assignment Help, Ask Question on C++, computer science, Get Answer, Expert's Help, C++, computer science Discussions

Write discussion on C++, computer science
Your posts are moderated
Related Questions
WHY ISN''T THE PRICE STORED ON THE BARCODE

High level languages: High level languages (converted to machine code by compiler or equivalent) are much easier to program, as well as to understand. Several high level langu

Conditional constructs are used to integrate decision making into programs. The outcome of this decision making determines the series in which a program will execute instructions.

explain ipx for lan and spx

WAP TO ACCEPT MARKS OF THREE SUBJECT FOR STUDENT & CALCULATE TOTAL MARKS AND PERCENTAGE

E- Learning Processes: Since, any e-learning project checks your achievements against a learning outcome, therefore, it starts with identification and verification process. Th

Question 1 What are the differences between closed and open systems? Question 2 What are the characteristics of a good documentation? Question 3 What are the steps invol

Analogue and digital signals: Analogue (continuous) information is made available in virtually all aircraft equipment.  Figure 1 shows the analogue signal created by a variable


3. Let f, g: R?R, where g(x) 1 - x + x2 and f (x)=ax + b. If (g ? f )(x)= 9x2 - 9x + 3, determine a, b.