Data structure and Algorithm

/** 

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper

 * @author Jane Programmer

 * @cwid   123 45 678

 * @class  COSC 2336, Spring 2019

 * @ide    Visual Studio Community 2017

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper

 * @date   January 12, 2019

 * @assg   Assignment 01

 * 

 * @description Assignment 01, practice on functions, user defined

 *   types and arrays.

 */

#include

#include

using namespace std;

/** main 

 * The main entry point for this program.  Execution of this program

 * will begin with this main function.

 *

 * @param argc The command line argument count which is the number of

 *     command line arguments provided by user when they started

 *     the program.

 * @param argv The command line arguments, an array of character

 *     arrays.

 *

 * @returns An it value indicating program exit status.  Usually 0

 *     is returned to indicate normal exit and a non-zero value

 *     is returned to indicate an error condition.

 */

int main(int argc, char** argv)

{

  int n = 22;

  int x[] = {5, 8, 3, 7, 9, 2, 7, 5, 4, 5, 2, 1, 9, 8, 9, 3, 5, 2, 5, 8, 8, 9};

  double xbar = 0.0;

  double std = 0.0;

  // calculate and display mean of values

  //xbar = calculateMean(n, x);

  cout << "The calculated mean is: " << setprecision(8) << xbar << endl;

  // calculate and display standard deviation of values

  //std = calculateStandardDeviation(n, x);

  cout << "The calculated standard deviation is: " << setprecision(8) << std << endl;

  

  // return 0 to indicate successful completion

  return 0;

}

Calculate your order
Pages (275 words)
Standard price: $0.00
Client Reviews
4.9
Sitejabber
4.6
Trustpilot
4.8
Our Guarantees
100% Confidentiality
Information about customers is confidential and never disclosed to third parties.
Original Writing
We complete all papers from scratch. You can get a plagiarism report.
Timely Delivery
No missed deadlines – 97% of assignments are completed in time.
Money Back
If you're confident that a writer didn't follow your order details, ask for a refund.

Calculate the price of your order

You will get a personal manager and a discount.
We'll send you the first draft for approval by at
Total price:
$0.00
Power up Your Academic Success with the
Team of Professionals. We’ve Got Your Back.
Power up Your Study Success with Experts We’ve Got Your Back.

Order your essay today and save 30% with the discount code ESSAYHELP