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
COMPUTER DATABASES: As would be evident from the foregoing description, literature search is essentially a process of information retrieval. The term "Information Retrieval" w

Networking Operating Systems,  Networking OS provides file sharing, Networking OS provides communication scheme, NT Server Security added Multi user capability added RAI

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,

create a flowchart showing average score for the 3 quizzes assume that there are 3 sections each having 5 students the only valid number to be entered is 1-100 for the quizzes shou

how to use computer and how we can manage it

A STAIRCASE LIGHT IS CONTROLLED BY TWO SWITCHES ONE AT THE TOP OF THE STAIRS AND ANOTHER AT THE BOTTOM OF STAIRS

Question 1 Brief about the shells of Linux operating system Question 2 Explain briefly about GNOME desktop Question 3 Write note on the following Encryption Sig

Question 1 List down any six features of a Smartphone Question 2 Give a brief note on a) Internal Flash Disk. b) Use of C++ in Symbian OS Question 3 What are the naming

Define explicit, implicit and parametric representation and what are their advantages?

I need someone to help me with my Unix/Linux homework.