Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Strotium no.
//'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 []) { int i ,p ,q ,s ,t ; for(i=1000;i<=9999;i++) { p=i%100; q=i/100; s=p/10; t=q%10; if(s==t) System.out.println("yes"); else System.out.println("no"); } } }
run
|
edit
|
history
|
help
0
Jumpstatement
SecToHours
Ab
piglatin
Case 2nd Clear
Java recursive test
dimond of stars
2B
kkk
Fibonacci number 0 - 93