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
#quesetion..explain the concept of data transmission giving details of the transmission rate and bandwidth with details explanation of the transmission media

Question 1 Describe the following- Binary Number System b. Octal Number System Hexadecimal Number System   Question 2 Describe the Canonical Logical Forms-

SYMBOLS CHART Every one of the parts on code line in assembler is known as token, for instance on the code line: MOV AX, Var We comprise three tokens, the MOV instruction, the AX o

I. Write an application that accomplishes the following tasks: 1. Read a text file that contains, integers, doubles, alphabet, alphanumeric, and others. The name of the input fil

Question: Using a questionnaire is a popular way commonly used to evaluate interfaces. (a) Describe advantages of using questionnaires as a means to evaluate interfaces.

The project designs a school computer lab with the necessary hardware and software components along with the IP address for different components. The computer lab consists of one I

Programs - programming language: Programs to implement algorithms on the computer must be written in a language that the computer can understand. It is fruitful, therefore, to

For the formation of a program it is necessary to follow five steps: Design of the algorithm, stage the problem to be solved is reputable and the best solution is proposed, creatin


Question 1 Convert the following hexadecimal numbers to base 2 (D73)16 (A21)16 Question 2 Convert the following binary numbers to base 16 (11001011)2 (11