|
Algorithms_in_C++ 1.0.0
Set of algorithms implemented in C++.
|
A simple program to check if the given number is a factorial of some number or not. More...
#include <cassert>#include <iostream>Functions | |
| bool | is_factorial (uint64_t n) |
| void | tests () |
| int | main () |
A simple program to check if the given number is a factorial of some number or not.
| bool is_factorial | ( | uint64_t | n | ) |
Function to check if the given number is factorial of some number or not.
| n | number to be checked. |
| int main | ( | void | ) |
| void tests | ( | ) |
Test function