Files
2018-10-27 23:57:01 +07:00

9 lines
143 B
C++

#include <iostream>
#include <math.h>
using namespace std;
bool IsPrime(int n);
bool IsAmstrong(int n);
bool IsPerfectNumber(int n);