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.

code:

source code

error:

Cmd error

Answers


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

Search




Leave an answer