Search:

Type: Posts; User: mockingbird

Search: Search took 0.11 seconds.

  1. Replies
    1
    Views
    1,277

    String in java

    Hello.
    I have a task and I need programming a small program like this;

    The program will count in a string text area how many used the same word.
    Example text

    " A dog run out of home.When dog...
  2. Replies
    16
    Views
    2,281

    [SOLVED] Re: matrix task in java

    Norm thank u too much problem has been solved.
  3. Replies
    16
    Views
    2,281

    [SOLVED] Re: matrix task in java

    Decompiler error all is this
  4. Replies
    16
    Views
    2,281

    [SOLVED] Re: matrix task in java

    Here I did like u wrote


    anArray[row][column] = inputUser.nextInt();

    But it doesnt work.

    On this 14. line there is error as

    But already above of the code I definited it as int.
  5. Replies
    16
    Views
    2,281

    [SOLVED] Re: matrix task in java

    Okay here the full code.



    import java.util.Scanner;
    public class keke {
    public static void main(String[] args)
    {
    Scanner inputUser = new Scanner(System.in);
    int theSize = 3;
  6. Replies
    16
    Views
    2,281

    [SOLVED] Re: matrix task in java

    I begin to understand somethings there is written "anArray" is not an Array.I wrote [] too but dont know why.Code and error below.



    import java.util.Scanner;
    public class inversematrix{...
  7. Replies
    16
    Views
    2,281

    [SOLVED] Re: matrix task in java

    Code and explains are below.





    int theSize = <inputUser>;
    */
    Multiple markers at this line
    - Syntax error on token(s), misplaced
  8. Replies
    16
    Views
    2,281

    [SOLVED] Re: matrix task in java

    I puted your code but I got error cause of I did something wrong I think.

    You said " define int array with thesize number of elements" but already I want the size is will be depend to that matrix...
  9. Replies
    16
    Views
    2,281

    [SOLVED] Re: matrix task in java

    Okay I edited my post.So

    int theSize = <inputUser>;
    ... // this part is what I didnt get
    int[] anArray = new int[theSize];

    will be like this?

    Could you explain some more ?
  10. Replies
    16
    Views
    2,281

    [SOLVED] matrix task in java

    Hello.

    I have a inverse matrix task.Teacher said us that we have to create little a program which is finds inverse of the matrix which is given in code.
    I did something like this and when I gave...
Results 1 to 10 of 10