Skip to content

Tuanpluss02/Tutorial-3-Computer-Programming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tutorial 3 - Computer Programming

Introduction

  • C++ Program to Find Mean and Variance using header files and function overloading. We will learn how to create header files and use them in our program. We will also learn how to use the functions defined in the header file in our program. This is our topic:

image

  • This project has 5 files. The first file is the main.cpp file which contains the main function. The second file is the header file which contains the function declarations. The third file is the source file which contains the function definitions. The fourth file is the .gitignore file which contains the files that are not to be uploaded to the repository. The fifth file is the README.md file which contains the description of the project.

What is the Mean and Variance?

  • The term variance refers to a statistical measurement of the spread between numbers in a data set. More specifically, variance measures how far each number in the set is from the mean (average), and thus from every other number in the set. Variance is often depicted by this symbol: σ2. It is used by both analysts and traders to determine volatility and market security. Variance is calculated by using the following formula:

image

How to build/run this project?

  • Open the terminal and run the following commands (for Windows)
> git clone https://github.com/Tuanpluss02/Tutorial_3_Computer_Programming.git
> cd Tutorial_3_Computer_Programming
> g++ main.cpp -o main.exe
> main.exe

Prerequisites

  • C++ Programming
  • Function Overloading
  • Header Files

Our team members

  • Do Ngoc Tuan - B20DCVT330 (Leader)
  • Nguyen Thanh Dat - B20DCVT097
  • Nguyen Manh Lam - B20DCVT225
  • Le Cong Luc - B20DCVT242
  • Le Duy Hieu - B20DCVT145
  • Nguyen Xuan Quan - B20DCVT305
  • Pham Hong Lam - B20DCVT226
  • Pham Quang Huy - B20DCVT190
  • Tran Han Son - B20DCVT314
  • Do Anh Phuong - B20DCVT298
  • Nguyen Minh Son - B20DCVT312
  • Ha Viet Manh Quoc - B20DCVT309
  • Pham Van Hung - B20DCVT198
  • Luong Ngoc Tung - B20DCVT346

Thanks

  • Thanks to Nguyen Trung Anh - our teacher and the university Posts and Telecommunications Institute of Technology for giving us the opportunity to learn and practice.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages