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
Constant: In contrast to a variable, which is used as identifier for a value and which can change, constants are identifiers that are used for values, which cannot be changed.

Ask question #Minimum. Hello. ser can. you. tell. me. that. what. is. the. batter. side. for. BIOLOGY. Students. from. class. 12. / xii. 100 words accepted#

Computer Generations: From the early 1940's to the present, computer scientists have been able to identify clear-cut stages in the development of computer technology. With eac

Memory Management: The purpose of the memory management system is to load programs into memory in such a way as to give each program loaded  the memory that it requires for

Question 1 Write a note on modems Question 2 What are the Safe Chatting Rules Question 3 Explain three basic kinds of hypertext links Question 4 Write a no


My question on the following link: http://www.3n33.com/upload/download.php?img=1410

WHAT IS DATA STRUCTURE AND EXPLAIN ME.

What''s a resource based view of Apple Corporation?

main task of sofware developper