import java.io.*;
class Primenumber{
public static void main(String args[])throws IOException{
InputStreamReader input= new InputStreamReader(System.in);
BufferedReader reader= new BufferedReader(input);
System.out.println("enter your first num");
int num1=Integer.parseInt(reader.readLine());
System.out.println("enter your second num");
int num2=Integer.parseInt(reader.readLine());
int count=0;//count has to outside of "for"
No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
This thread is currently closed and is not accepting any new replies.