Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
evenloop
//'main' method must be in a class 'Rextester'. //openjdk version '11.0.5' import java.util.*; import java.lang.*; class Rextester { public static void main(String args[]) { Scanner sc=new Scanner(System.in); int a,b,s; System.out.println(" Enter the numbers "); a=sc.nextInt(); for(b=1;b<=a;b++) { s=b+1; } System.out.println(s); } }
run
|
edit
|
history
|
help
0
brindtuch
AVL-GO-FLAT
Minimum Vertices to Traverse Directed Graph
BinarySearch
jb12.0 threads.enums
JAVA # Günlük Maaş Hesaplama
binary search
Largest prime factor
Variables&Types
Simple imitation for show banners on priorities