..this is a correct code but then the numbers that should be in prime the output would be in composite for example we input 1 the output would be the 1 is composed of 1..thank you..
Type: Posts; User: cutee_eyeh
..this is a correct code but then the numbers that should be in prime the output would be in composite for example we input 1 the output would be the 1 is composed of 1..thank you..
import java.util.Scanner;
public class erelle{
private static String comps;
public static void main(String[] args){
Scanner input = new Scanner(System.in);
...