Introduction:
In this article i would like to post a article on "Add a Digits of a Given Number".
Description:
In Previous article Program to Print Strong Numbers 1 To N Numbers Using C#.Net.This article both depends on For loop it provides awesome logical Thinking.In this article we add the individual digits of an every number and present the entire Sum Value.
Implementation:
E.G:123 is a given number Result is 1+2+3=6
Program:
OutPut:
Using For LOOP:
In this article i would like to post a article on "Add a Digits of a Given Number".
Description:
In Previous article Program to Print Strong Numbers 1 To N Numbers Using C#.Net.This article both depends on For loop it provides awesome logical Thinking.In this article we add the individual digits of an every number and present the entire Sum Value.
Implementation:
E.G:123 is a given number Result is 1+2+3=6
Program:
OutPut:
Using For LOOP:
No comments:
Post a Comment