Hello Friends!!! How are you? Hope, you all are well by the grace of Almighty. Today we learn how to convert digits to a number.
How can we convert four digits to a number?? If we multiply last digit with 10^0, 2nd last digit with 10^1, 2nd digit with 10^2, 1st digit with 10^3 and add all results then we find a number. It's simple way to convert four digits to a number.
Now we can apply this formula for C coding. Let's look at the program:
Thank you all..:)
How can we convert four digits to a number?? If we multiply last digit with 10^0, 2nd last digit with 10^1, 2nd digit with 10^2, 1st digit with 10^3 and add all results then we find a number. It's simple way to convert four digits to a number.
Now we can apply this formula for C coding. Let's look at the program:
Thank you all..:)
0 comments:
Post a Comment