Search:

Type: Posts; User: titas

Search: Search took 0.11 seconds.

  1. Replies
    7
    Views
    954

    Re: List of prime number

    Dear,The output of the program of your is given below when I put 20 value:

    Enter a number upto check prime of prime not=
    20
    0.0 Prime
    1.0 Prime
    2.0 Prime
    3.0 Prime
    4.0 Not Prime
    5.0 Prime
  2. Replies
    7
    Views
    954

    Re: List of prime number

    I use a scanner to give input.when run program ask to give input.then if I put 20 value.it gives the result:
    0.0 Not Prime
    1.0 Not Prime
    2.0 Prime
    3.0 Prime
    4.0 Not Prime
    6.0 Not Prime
    8.0 Not...
  3. Replies
    7
    Views
    954

    List of prime number

    Hello Dear, i face a problem to solve a program; 5,7,11,...........numbers not shown.please help.

    here is my program:

    package javaapplication1.print;
    import java.util.Scanner;

    public class...
Results 1 to 3 of 3