A Simple C++ program that utilizes a good design process
$30-250 USD
Completed
Posted over 14 years ago
$30-250 USD
Paid on delivery
This project will be a simple, working C++ program that utilizes a good design process and incorporates sequential, selection and repetitive programming statements as well as at least one function call. You should design, create, and then compile and execute the program. Be sure that your code compiles and executes correctly before submitting it.
Project Objective:
• Use the process of stepwise refinement to construct programs
• Demonstrate and explain the execution of sequential, conditional, and iterative programming statements
• Create and use functions
• Create, compile, and execute simple programs written in a modern object-oriented language
• Critically analyze project design solutions
• Deliverables:
⁃ programming language to solve a specific problem or issue in computer and information science. In this project you will create a simple, working C++ program that utilizes a good design process and incorporates sequential, selection and repetitive programming statements and functions. The overall purpose of the program is to allow users to input a list of positive numbers into an array, find the average of the numbers in the array and output the result. You should design, create, and then compile, execute and test the program. Be sure that your code compiles and executes correctly before submitting it.
•
•
• Specific functional requirements for this project:
•
• The overall purpose of the program is to allow users to input a list of positive numbers into an array, find the average of the numbers in the array and output the results.
• Use a top-down modular approach and pseudocode to design a suitable solution.
• After you develop your solution, you should test your product using appropriate and comprehensive data.
• You should document your approach to solving the problem with detailed justification for the approach you selected. In this documentation you should discuss possible issues, strengths and weaknesses to your approach. Alternative approaches not selected, but considered, should be discussed in your documentation.
• Specific deliverables include the pseudocode, all project code and documentation.
•
• Format:
• Approach documentation format and length:
• The documentation describing and reflecting on your design and approach should be written using Microsoft Word and be no more than 5 pages in length and no less than 2 pages. The font size should be 12 point. The page margins should be 1 inch. The paragraphs should be with double line spacing. All figures, tables, equations and referenced should be properly labeled and formatted using APA style.
•
• Attributes
• Value
• Project Design
•
• Project Functionality
•
• Test Data
•
• Approach documentation
•
• Approach documentation grammar and spelling
•
I have attached an input/output array mpodule that you mau use freely for this project. It accepts both positive and negative numbers, and ends input with CTRL Z
void inputmod (int values [], int &count)
/***************************************************************************
* *
* inputmod *
* *
* a general utility routine for prompting a user to enter numbers *
* into an array. The user indicates that all valuews have been *
* by entering an EOF (end of file) which is CTRL Z on an MS-DOS *
* operating system. After the user enters CTRL Z the routine *
* the data entered using outputmod *
* *
* parameters *
* values an integer array which is filled and returned *
* count a reference parameter that upon return contains *
* the number of values read * *
***************************************************************************/
{
count = 0;
do
cout << endl <<"Enter value " << count <<
endl << "CTRL Z to stop" << endl << ">> " ;
while (cin >> values [count++]);
count--;
cout << "INPUT ECHO" << endl << "count = "<< count << endl;
outputmod (values, count);
}
void outputmod (int values [], int count)
/***************************************************************************
* *
* outputmod *
* *
* a general utility routine that receives an integer array *
* and outputs it to the screen showing 5 values per line *
* *
* parameters *
* values an integer array which is to be output *
* count integer parameter with the number of values in the array *
* *
* variables i, j integer loop control variables *
* *
***************************************************************************/
{
int i, j;
for (i = 0; i < count; i += 5)
{
for (j = i; ((j < i+5) && j < count) ; j++)
cout << values [ j ]<< " ";
cout << endl;
} // for i
}
Hello, I have completely read the project description and I'm 100% sure that I can cover all the aspects of the project requirement. I have done lot of C/C++ projects and all my customers are very happy with the quality of the work. I can deliver the same great service to you. Thanks.
Hello, I have read the project description and I'm 100% sure that I can cover all the aspects of the project requirement quality of the work. I can deliver the same great service to you 20$ within 2 days Thanks.
we are expert in c/c++,.net,php,ajax,css,java script.
& also we are professional in web design,graphic design,photo shop,logo design, banner design.
so I hope you will consider me to this project.
i am a software engineer and an expert in a and c++ . i am sure that i will be able to meet all the needs that the project demands and i will try my level best to deliver the project before my committed date