Skip to main content

Visual Basic .NET Tutorial

How to Get Armstrong Numbers Between 1 to 1000 in VB.Net

If you wonder how to get Armstrong numbers in VB.Net, simply follow the procedure below to see if a number is an Armstrong number. But, before that let’s learn first what Armstrong number is? Is a number that when you raise each digit of the number to the power of the number of digits and add them up you still get the original number. It will be easier with an example, take a look at this. For

How to Get Factorial Numbers in VB.Net

This time, let’s learn how to get factorial numbers in VB.Net. If we say factorial number, it means a number which is multiply itself to its decreasing numbers and it is denoted by the symbol (!). Like for example the factorial number or value of 5. This is how it looks like, 5! = 5 x 4 x 3 x 2 x 1 = 120. Now, let’s try doing this with codes in VB.Net. Just simply follow the instructions below.