vb.net

Calculate the Sum of Even Digits of the Given Numbers in VB.Net

Submitted by janobe on
In this tutorial I will teach you how to calculate the sum of even digits of a given number in vb.net. This method has the ability to accept the numbers from user. Then it will calculate the sum of even digits of a given number and display it in the textbox. This is just a simple program to do once you follow the steps below.

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

Submitted by janobe on
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 example, 153 is an Armstrong number since (1^3) + (5^3) + (3^3) =153.

How to Get Factorial Numbers in VB.Net

Submitted by janobe on
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.