Skip to content

Commit 568c4de

Browse files
authored
Added Comment
1 parent 4f7a82e commit 568c4de

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Magic_number.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ public static void main(String ar[])
1212
int n,v,t,d=0,s;
1313
System.out.println("Enter the number");
1414
n=Integer.parseInt(br.readLine());
15+
//implementing the Algorithm
1516
for(v=n;v>9;v=s){
1617
for(t=v,s=0;t>0;t=t/10) {
1718
d=t%10;

0 commit comments

Comments
 (0)