Search:

Type: Posts; User: cutee_eyeh

Search: Search took 0.25 seconds.

  1. Replies
    3
    Views
    4,271

    Re: composite and prime

    ..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..
  2. Replies
    3
    Views
    4,271

    composite and prime

    import java.util.Scanner;

    public class erelle{
    private static String comps;
    public static void main(String[] args){
    Scanner input = new Scanner(System.in);
    ...
Results 1 to 2 of 2