Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
1
//'main' method must be in a class 'Rextester'. //Compiler version 1.8.0_111 import java.util.*; import java.lang.*; class Rextester { public static void main(String args[]) { long a=9386769069L; int i;int k=0;long d=0;long s=0; for(i=1;i <=10;i++) { d=a%10; s=d*i +s; a=a/10; if(a==0) { k=1; break; } } if(k ==1 && s % 11==0) System.out.println("isdn no."); else System.out.println("not an isdn no."); } }
run
|
edit
|
history
|
help
0
jb15.0
Escaping Literals II
OBF-7
Rextester.java
int float
Variables&Types
friend circle problem
doubt
An excursion with Strings
Item battle rolyal