CodeLab
Java Editor
Share
Share original
Save & Share
Other Editors
CSS Editor
HTML Editor
Javascript Editor
NodeJS Editor
PHP Editor
Python Editor
Java Editor
C++ Editor
C Editor
Sign In
Run
Input
50
Output
>> javac Main.java >> java Main Enter any number : Sum of first 50 natural numbers : 1275
Share the link
×
Copy
Editor settings
×