and the posts of penguin is so advanced we havent even tackled some yet... but thanks for the effort though
and the 1st code you posted was an infinite loop :)
Type: Posts; User: gonfreecks
and the posts of penguin is so advanced we havent even tackled some yet... but thanks for the effort though
and the 1st code you posted was an infinite loop :)
oh yeah my bad it runs 2 2 2 3 5 but if i run 150 it only runs 2 3 5 while it needs to output 2 3 5 5..
thanks for the help
public class Factor {
public static void main(String[] args){
Scanner input=new Scanner (System.in);
String yn;
int number;
int current;
String output = "";
...