-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.cpp
More file actions
19 lines (14 loc) · 741 Bytes
/
main.cpp
File metadata and controls
19 lines (14 loc) · 741 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include "computePi.h"
#include <iostream>
int main() {
std::cout << "****************************************************************" << std::endl;
std::cout << "**** ****" << std::endl;
std::cout << "**** Welcome to PI calculation using physics engine ! ****" << std::endl;
std::cout << "**** ****" << std::endl;
std::cout << "****************************************************************" << std::endl << std::endl;
int digit = 0;
std::cout << "Please enter the number of digit of PI you want to compute" << std::endl;
std::cin >> digit;
computePi(digit);
return 0;
}