Home Ask Login Register

Developers Planet

Your answer is one click away!

Otis February 2016

JAVA error finding prime no. between 1 to 20

I'm new and would like to find and correct my errors. I got 2 errors while writing a java program to print prime nos. between 1 to 20.


source code


Cmd error


Gavriel February 2016

; instead of ,

for (i=1;i<20;i++)

Post Status

Asked in February 2016
Viewed 3,003 times
Voted 9
Answered 1 times


Leave an answer

Quote of the day: live life