glasswizzard
Well-known member
- Joined
- Nov 22, 2019
- Messages
- 126
- Programming Experience
- Beginner
Does C# have methods that will tell me about certain properties of numbers?
I'd like to know four things about a number, if it's prime (if so what prime number), if its triangular (if so what triangular number), if it's square (and what square it is) and also the same for the Fibonacci sequence.
I'd like to know four things about a number, if it's prime (if so what prime number), if its triangular (if so what triangular number), if it's square (and what square it is) and also the same for the Fibonacci sequence.