Added a pause before ending

This commit is contained in:
2018-09-27 05:11:49 -04:00
parent 0c1b4c057f
commit 3615483d3e

View File

@@ -38,6 +38,8 @@ int main(){
std::cout << "The triangular number " << sum << " is made with all number >= " << counter - 1 << " and has " << countDivisors << " divisors" << std::endl;
std::cout << "The problem took " << std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::high_resolution_clock::duration(endTime - startTime)).count() << " milliseconds" << std::endl;
std::cin.get();
return 0;
}