Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Page 1 of 2 12 LastLast
Results 1 to 25 of 44

Thread: Count out program-- How do i do this?

  1. #1
    Member
    Join Date
    Jun 2014
    Posts
    65
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Count out program-- How do i do this?

    The children’s game of ‘count-out’ is played as follows: n children (numbered 1 to
    n) are arranged in a circle. A sentence consisting of m words2 is used to eliminate
    one child at a time until one child is left. Starting at child 1, the children are
    counted from 1 to m and the mth child is eliminated. Starting with the child after
    the one just eliminated, the children are again counted from 1 to m and the mth
    child eliminated. This is repeated until one child is left. Counting is done circularly
    and eliminated children are not counted. Write a program to read values for n
    (assumed <= 100) and m (> 0) and print the number of the last remaining child.


  2. #2
    Junior Member
    Join Date
    Jun 2014
    Posts
    13
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Default Re: Count out program-- How do i do this?

    This appears to be some sort of assignment. Since this is the 'What's Wrong With My Code' section, may you provide what you have so far? Still a beginner, but will try to help you to the best of my ability.

  3. #3
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,051
    My Mood
    Mellow
    Thanks
    184
    Thanked 650 Times in 637 Posts

    Default Re: Count out program-- How do i do this?

    Please don't start multiple threads on the same topic. Your other thread is closed.

    What kind of ideas do you need? Please show what you've tried and ask specific questions, not ones so general that could include discussing the World Cup.

  4. #4
    Member
    Join Date
    Jun 2014
    Posts
    65
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: Count out program-- How do i do this?

    this is what i have so far. I just threw something together. I dont understand how to code this program

    import java.util.*;
    public class Countout{
    	public static void main (String[]args){
    		Scanner in = new Scanner (System.in);
     
    System.out.printf("Enter # of children [<=100]:");
    int n=in.nextInt();
    System.out.printf("Enter # of words in the sentence:[>0]:");
    int m=in.nextInt();
     
    Remain(n,m);
    	}//end main
     
    public static void Remain(int n,int m){
     
    int num=0,count,kidsleft,index;	
    int [] kids = new int [n];
     
    for(count=0;count <= n;++ count){
    	kids[count]=1;
    }
    kidsleft=n;
     
    index=0;
    while(kidsleft>1){
    	for(count=0;;index=(index + 1)%n){
    		if (kids[index] == 1)
          {
            ++count;
            if (count == num)
              break;
    	}
    }
    		}//end while
     System.out.printf("Removing kid #%d\n",index);
        kids[index]=0;
        --kidsleft;
     
      for (count=0; kids[count] == 0; ++count);
     
     System.out.printf("Kid %d is the lucky one", count);
    }//end method
    	}//end class

  5. #5
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    SW Missouri
    Posts
    20,354
    Thanks
    49
    Thanked 2,206 Times in 2,179 Posts

    Default Re: Count out program-- How do i do this?

    import java.util.*;
    public class Countout{
    	public static void main (String[]args){
    		Scanner in = new Scanner (System.in);
     
    System.out.printf("Enter # of children [<=100]:");
    int n=in.nextInt();
    System.out.printf("Enter # of words in the sentence:[>0]:");
    int m=in.nextInt();
     
    Remain(n,m);
    	}//end main
     
    public static void Remain(int n,int m){
     
    int num=0,count,kidsleft,index;	
    int [] kids = new int [n];
     
    for(count=0;count <= n;++ count){
    	kids[count]=1;
    }
    kidsleft=n;
     
    index=0;
    while(kidsleft>1){
    	for(count=0;;index=(index + 1)%n){
    		if (kids[index] == 1)
          {
            ++count;
            if (count == num)
              break;
    	}
    }
    		}//end while
     System.out.printf("Removing kid #%d\n",index);
        kids[index]=0;
        --kidsleft;
     
      for (count=0; kids[count] == 0; ++count);
     
     System.out.printf("Kid %d is the lucky one", count);
    }//end method
    	}//end class
    I dont understand how to code this program
    Do you have a design for the program? What steps should it take to solve the problem?
    You need that BEFORE trying to write any code.

    BTW The code has lost a lot of its formatting.
    If you don't understand my answer, don't ignore it, ask a question.

  6. #6
    Member Abhilash's Avatar
    Join Date
    Jun 2014
    Location
    Kolkata, West Bengal, INDIA
    Posts
    108
    My Mood
    Busy
    Thanks
    5
    Thanked 10 Times in 10 Posts

    Default Re: Count out program-- How do i do this?

    Quote Originally Posted by javaman1 View Post
    this is what i have so far. I just threw something together. I dont understand how to code this program

    import java.util.*;
    public class Countout{
    	public static void main (String[]args){
    		Scanner in = new Scanner (System.in);
     
    System.out.printf("Enter # of children [<=100]:");
    int n=in.nextInt();
    System.out.printf("Enter # of words in the sentence:[>0]:");
    int m=in.nextInt();
     
    Remain(n,m);
    	}//end main
     
    public static void Remain(int n,int m){
     
    int num=0,count,kidsleft,index;	
    int [] kids = new int [n];
     
    for(count=0;count <= n;++ count){
    	kids[count]=1;
    }
    kidsleft=n;
     
    index=0;
    while(kidsleft>1){
    	for(count=0;;index=(index + 1)%n){
    		if (kids[index] == 1)
          {
            ++count;
            if (count == num)
              break;
    	}
    }
    		}//end while
     System.out.printf("Removing kid #%d\n",index);
        kids[index]=0;
        --kidsleft;
     
      for (count=0; kids[count] == 0; ++count);
     
     System.out.printf("Kid %d is the lucky one", count);
    }//end method
    	}//end class
    I don't understand, but you have already coded the program, although wrong.

    Still, let me explain how to do this and I will make necessary corrections too. You have first filled kids array with 1. But the problem with what you have done in your code is that you have made count <=n , but the size of array is n, meaning the indexes of array go from 0 to n, but does not include index n to keep the size as n. Thus count should not be equal to n if count starts from 0, which it should. Also count should be post-incremented according to your logic, i.e. count will increment after operation in loop is complete. Now, you have to use circular queue logic to go through the array, starting from position 0 till position m-1, store in that index of array 0, then start from position m, through m numbers, keeping in mind to go back to first position if last position is crossed, and also skipping positions containing the number 0, and this goes on till only one position remains containing number 1.

  7. #7
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,051
    My Mood
    Mellow
    Thanks
    184
    Thanked 650 Times in 637 Posts

    Default Re: Count out program-- How do i do this?

    You might also consider using a boolean array to hold the kids. true = in, false = out, or vice-versa.

  8. #8
    Member
    Join Date
    Jun 2014
    Posts
    65
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: Count out program-- How do i do this?

    here's what i got so far.Its compiling good but after its runs im getting out of bounds error.
    import java.util.*;
    public class Countout{
    	public static void main (String[]args){
    		Scanner in = new Scanner (System.in);
     
    System.out.printf("Enter # of children[<=100]:");
    int n=in.nextInt();
    System.out.printf("Enter # of words in the sentence:[>0]:");
    int m=in.nextInt();
     
    Remain(n,m);
    }//end main
     
    public static void Remain(int n,int m){
     
    boolean [] kids = new boolean[n];
    kids[n] = true;
     
    while(kids[n] != false){
    	for(int i=1;i <=m;i++){
    		kids[m] = false;
    		m++;
    	}
    }
    System.out.printf("%d",kids[m]);
    }//end method
    	}//end class

    Is my logic for the question right or a bit close even?

  9. #9
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,051
    My Mood
    Mellow
    Thanks
    184
    Thanked 650 Times in 637 Posts

    Default Re: Count out program-- How do i do this?

    Comments in your code would be helpful for both you and us. The comments will serve to document your design, which I think you haven't really given much thought.

    A couple of nits:

    By convention in Java, class names begin with capital letters, variable and method names begin with lowercase letters.

    This statement:

    while(kids[n] != false)

    is the same as this:

    while( kids[n] )

    To answer your question, not really, but here's how to move forward:

    This is a program for which you should be able to achieve an initial design with a little thought and then refine the design through discovery as you code it. The initial thought and design process could be something like:

    Imagine 10 chairs in a circle with a child in each chair. Choose a number, say 5, and begin counting in either direction at any of the chairs only those chairs with children in them. Since all chairs have children in them at the beginning, every chair is counted: 1, 2, 3, 4, 5. At chair number 5, ask the child to get up and leave. 9 chairs still have children in them. The number 5 chair is empty. Begin counting to 5 from chair 6: 1, 2, 3, 4, 5. Now at chair number 10, ask the child to get up and leave. 8 chairs still have children in them. The number 5 and 10 chairs are empty.

    Now the counting becomes slightly more complicated: Skip empty chairs. Resume counting at chair 1: 1, 2, 3, 4, (skip chair 5), 5 and land on chair 6. Ask the child to get up and leave. 7 chairs still have children in them. The number 5, 10, and 6 chairs are empty. Resume counting at the number 7 chair. And so on . . .

    This imagining of the game should give you some basic design ideas:

    Chairs: An array of N booleans
    A chair with a child in it: true
    A chair without a child in it: false
    The boolean array must be iterated circularly several times (the first element is visited after the last element each time through)
    At each iteration, the Mth TRUE element of the CIRCULAR array is set to FALSE
    The last iteration has been done when N - 1 elements have been set FALSE
    The last child in the circle is in the remaining TRUE element after the last iteration

    Start writing your program using the basic design ideas presented above (plus any of your own, all in your own words) as comments written first. Then write the code to realize the comments with 10 elements (chairs of children), counting every 5th element circularly, setting it to false, just as it was imagined above. Once you have that done successfully, then expand the code to include the n and m required by the program. You shouldn't have to change the algorithm (except changing hard values to variables), only the inputs to it.

    Hope this helps.

  10. The Following User Says Thank You to GregBrannon For This Useful Post:

    Abhilash (June 22nd, 2014)

  11. #10
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    SW Missouri
    Posts
    20,354
    Thanks
    49
    Thanked 2,206 Times in 2,179 Posts

    Default Re: Count out program-- How do i do this?

    getting out of bounds error.
    Please copy the full text of the error message and paste it here. It has important info about the error.

    Where did the code in post#4 come from? Why is the code in post#8 so different?
    If you don't understand my answer, don't ignore it, ask a question.

  12. #11
    Member Abhilash's Avatar
    Join Date
    Jun 2014
    Location
    Kolkata, West Bengal, INDIA
    Posts
    108
    My Mood
    Busy
    Thanks
    5
    Thanked 10 Times in 10 Posts

    Default Re: Count out program-- How do i do this?

    Quote Originally Posted by GregBrannon View Post
    You might also consider using a boolean array to hold the kids. true = in, false = out, or vice-versa.
    Yes, you can do that to.

  13. #12
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    SW Missouri
    Posts
    20,354
    Thanks
    49
    Thanked 2,206 Times in 2,179 Posts

    Default Re: Count out program-- How do i do this?

    Or have a boolean array named: removed with the default false (not removed) and true when removed.
    That saves the useless loop to set the array's value to true. Use the default false values.
    If you don't understand my answer, don't ignore it, ask a question.

  14. #13
    Member
    Join Date
    Jun 2014
    Posts
    65
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: Count out program-- How do i do this?

    Quote Originally Posted by Norm View Post
    Please copy the full text of the error message and paste it here. It has important info about the error.

    Where did the code in post#4 come from? Why is the code in post#8 so different?
    --------------------Configuration: <Default>--------------------
    Enter # of children that play the game[<=100]:10
    Enter # of words in the sentence:[>0]:4
    Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 10
    at Countout.Remain(Countout.java:17)
    at Countout.main(Countout.java:11)

    Process completed.

    --- Update ---

    Quote Originally Posted by GregBrannon View Post
    Comments in your code would be helpful for both you and us. The comments will serve to document your design, which I think you haven't really given much thought.

    A couple of nits:

    By convention in Java, class names begin with capital letters, variable and method names begin with lowercase letters.

    This statement:

    while(kids[n] != false)

    is the same as this:

    while( kids[n] )

    To answer your question, not really, but here's how to move forward:

    This is a program for which you should be able to achieve an initial design with a little thought and then refine the design through discovery as you code it. The initial thought and design process could be something like:

    Imagine 10 chairs in a circle with a child in each chair. Choose a number, say 5, and begin counting in either direction at any of the chairs only those chairs with children in them. Since all chairs have children in them at the beginning, every chair is counted: 1, 2, 3, 4, 5. At chair number 5, ask the child to get up and leave. 9 chairs still have children in them. The number 5 chair is empty. Begin counting to 5 from chair 6: 1, 2, 3, 4, 5. Now at chair number 10, ask the child to get up and leave. 8 chairs still have children in them. The number 5 and 10 chairs are empty.

    Now the counting becomes slightly more complicated: Skip empty chairs. Resume counting at chair 1: 1, 2, 3, 4, (skip chair 5), 5 and land on chair 6. Ask the child to get up and leave. 7 chairs still have children in them. The number 5, 10, and 6 chairs are empty. Resume counting at the number 7 chair. And so on . . .

    This imagining of the game should give you some basic design ideas:

    Chairs: An array of N booleans
    A chair with a child in it: true
    A chair without a child in it: false
    The boolean array must be iterated circularly several times (the first element is visited after the last element each time through)
    At each iteration, the Mth TRUE element of the CIRCULAR array is set to FALSE
    The last iteration has been done when N - 1 elements have been set FALSE
    The last child in the circle is in the remaining TRUE element after the last iteration

    Start writing your program using the basic design ideas presented above (plus any of your own, all in your own words) as comments written first. Then write the code to realize the comments with 10 elements (chairs of children), counting every 5th element circularly, setting it to false, just as it was imagined above. Once you have that done successfully, then expand the code to include the n and m required by the program. You shouldn't have to change the algorithm (except changing hard values to variables), only the inputs to it.

    Hope this helps.
    how does one iterate the boolean array circularly?

  15. #14
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    SW Missouri
    Posts
    20,354
    Thanks
    49
    Thanked 2,206 Times in 2,179 Posts

    Default Re: Count out program-- How do i do this?

    Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 10
    at Countout.Remain(Countout.java:17)
    The code at line 17 used an index (10) past the end of the array. Look at the code on line 17 and before that line to see why it had an index value past the end of the array.
    Remember: array indexes range in value from 0 to the array length-1. So the index can never be equal to the array's length.

    how does one iterate the boolean array circularly?
    Where did the code in post#4 come from? It has a technique that does that.
    If you don't understand my answer, don't ignore it, ask a question.

  16. #15
    Member
    Join Date
    Jun 2014
    Posts
    65
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: Count out program-- How do i do this?

    Quote Originally Posted by Norm View Post
    The code at line 17 used an index (10) past the end of the array. Look at the code on line 17 and before that line to see why it had an index value past the end of the array.
    Remember: array indexes range in value from 0 to the array length-1. So the index can never be equal to the array's length.


    Where did the code in post#4 come from? It has a technique that does that.
    post #4 was my first attempt. but its not working.

    i Still dont understand how to iterate the array circularly.

    this is my method:
    public static void Remain(int n,int m){
     
    boolean [] kids = new boolean[n];
    kids[n] = true;
     
    while(kids[n]){
    	for(int j=1;j <=kids[n-j];j ++){
    		for(int i=1;i <=m;i++){
    		kids[m] = false;
    		}
    	}
    }
    System.out.printf("%d",kids[m]);
    }//end method
    	}//end class

    the for loop gives this error:
    --------------------Configuration: <Default>--------------------
    C:\Users\Desktop\Countout.java:20: error: bad operand types for binary operator '<='
    for(int j=1;j <=kids[n-j];j ++){
    ^
    first type: int
    second type: boolean
    1 error

    Process completed.

  17. #16
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    SW Missouri
    Posts
    20,354
    Thanks
    49
    Thanked 2,206 Times in 2,179 Posts

    Default Re: Count out program-- How do i do this?

    The code in post #4 shows a technique for using an array in a circular way. If you wrote that, you know how to do it.

    first type: int
    second type: boolean
    The code is comparing an int: j with a boolean: kids[n-j]
    That is not allowed by the compiler.
    What are you trying to do in that code? What should j be compared against? The length of the kids array?
    If you don't understand my answer, don't ignore it, ask a question.

  18. #17
    Member
    Join Date
    Jun 2014
    Posts
    65
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: Count out program-- How do i do this?

    ok can this work with an array of int?
    or does it have to be Boolean?

    and how do i solve the array out out bounds error?

    Enter # of children [<=100]:10
    Enter # of words in the sentence:[>0]:4
    Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 10
    at countout.Remain(countout.java:20)
    at countout.main(countout.java:11)

    Process completed.

  19. #18
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    SW Missouri
    Posts
    20,354
    Thanks
    49
    Thanked 2,206 Times in 2,179 Posts

    Default Re: Count out program-- How do i do this?

    can this work with an array of...
    The correct technique works with all arrays. What is in the array is not relevant.
    solve the array out out bounds error?
    The for loop's termination condition should be when the value of the index matches the array length.
    Keep looping while the index is less than the array's length: index < array.length
    If you don't understand my answer, don't ignore it, ask a question.

  20. #19
    Member
    Join Date
    Jun 2014
    Posts
    65
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: Count out program-- How do i do this?

    Quote Originally Posted by Norm View Post
    The correct technique works with all arrays. What is in the array is not relevant.

    The for loop's termination condition should be when the value of the index matches the array length.
    Keep looping while the index is less than the array's length: index < array.length
    for(count=0;index=(index + 1)%n;index<kids.length){

    --------------------Configuration: <Default>--------------------
    C:\Users\Desktop\countout.java:26: error: not a statement
    for(count=0;index=(index + 1)%n;index<kids[n].length){
    ^
    1 error

    Process completed

    how do i fix the loop?

  21. #20
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    SW Missouri
    Posts
    20,354
    Thanks
    49
    Thanked 2,206 Times in 2,179 Posts

    Default Re: Count out program-- How do i do this?

    Look at how to code a for statement. The compiler doesn't like what is coded now.
    See the tutorial: The for Statement (The Java™ Tutorials > Learning the Java Language > Language Basics)

    A for statement has 3 parts in the () separated by ;s. Look at what is in the last part where the ^ points. Is that increment code?
    If you don't understand my answer, don't ignore it, ask a question.

  22. #21
    Member
    Join Date
    Jun 2014
    Posts
    65
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: Count out program-- How do i do this?

    Quote Originally Posted by Norm View Post
    Look at how to code a for statement. The compiler doesn't like what is coded now.
    See the tutorial: The for Statement (The Java™ Tutorials > Learning the Java Language > Language Basics)

    A for statement has 3 parts in the (). Look at what is in the last one.
    ok this is what i did for the for loop. Its not giving an error anymore. but after the program compiles and the user is prompted to enter values im still getting this.

    Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 10
    at countout.Remain(countout.java:20)
    at countout.main(countout.java:11)

    Process completed.

    how do i fix this?

  23. #22
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    SW Missouri
    Posts
    20,354
    Thanks
    49
    Thanked 2,206 Times in 2,179 Posts

    Default Re: Count out program-- How do i do this?

    Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 10
    at countout.Remain(countout.java:20)
    What statement is giving the error? If its in a for loop:
    Change the code so the index stops before it goes past the end of the array.
    If the array has 10 slots, the indexes range from 0 to 9 (the array's length-1)
    If you don't understand my answer, don't ignore it, ask a question.

  24. #23
    Member
    Join Date
    Jun 2014
    Posts
    65
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: Count out program-- How do i do this?

    Quote Originally Posted by Norm View Post
    What statement is giving the error? If its in a for loop:
    Change the code so the index stops before it goes past the end of the array.
    If the array has 10 slots, the indexes range from 0 to 9 (the array's length-1)
    its compiling without errors then im prompted to enter data. After i enter the data it is giving the out of bounds error.

    here's my method:
    public static void Remain(int n,int m){
     
    int num=0,count,kidsleft,index;	
    int [] kids = new int [n];
     
    for(count=0;count <= n;++ count){
    	kids[count]=1;
    }
    kidsleft=n;
     
    index=0;
    while(kidsleft>1){
    	for(count=0;;index=(index + 1)%n-1){
    		if (kids[index] == 1)
          {
            ++count;
            if (count == num)
              break;
    	}
    }
    		}//end while
     System.out.printf("Removing kid #%d\n",index);
        kids[index]=0;
        --kidsleft;
     
      for (count=0; kids[count] == 0; ++count);
     
     System.out.printf("Kid %d is the lucky one", count);
    }//end method

  25. #24
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    SW Missouri
    Posts
    20,354
    Thanks
    49
    Thanked 2,206 Times in 2,179 Posts

    Default Re: Count out program-- How do i do this?

    Please copy the statement where the error happens and paste it here.

    From post#18 (you should read what has been posted)
    The for loop's termination condition should be when the value of the index matches the array length.
    Keep looping while the index is less than the array's length: index < array.length
    If you don't understand my answer, don't ignore it, ask a question.

  26. #25
    Member
    Join Date
    Jun 2014
    Posts
    65
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: Count out program-- How do i do this?

    Quote Originally Posted by Norm View Post
    Please copy the statement where the error happens and paste it here.



    From post#18 (you should read what has been posted)
    it is not giving an error at a particular statement. when i click compile it complies normal without any errors. the program then prompts me to enter the values. After i enter the values . the out of bounds comes up.

    --------------------Configuration: <Default>--------------------
    Enter # of children [<=100]:60
    Enter # of words in the sentence:[>0]:4
    Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 60
    at countout.Remain(countout.java:20)
    at countout.main(countout.java:11)

    Process completed.
    but how exactly do i fix the loop if that is the error?

Page 1 of 2 12 LastLast

Similar Threads

  1. Java program to count External devices connected with the system. Eg. Pen drive
    By arindam.mukherjee007 in forum What's Wrong With My Code?
    Replies: 1
    Last Post: August 29th, 2013, 08:34 AM
  2. The count for each value in array
    By samar in forum Loops & Control Statements
    Replies: 4
    Last Post: January 4th, 2013, 01:38 PM
  3. Column count doesn't match value count at row 1
    By Tyluur in forum What's Wrong With My Code?
    Replies: 1
    Last Post: December 30th, 2012, 12:31 AM
  4. Sentence and Letter Count Program
    By velop in forum What's Wrong With My Code?
    Replies: 1
    Last Post: March 9th, 2010, 11:10 PM
  5. select count(*)
    By jacinto in forum JDBC & Databases
    Replies: 4
    Last Post: March 2nd, 2010, 09:30 PM