Search:

Type: Posts; User: p.katanic

Search: Search took 0.08 seconds.

  1. Re: User inputs a number of characters as a string, program then lists all the words from array that can be made

    Hello, I solved my problem. Issue was a logical one. I have declared an array of words. The user then inputs some characters, and the program is supposed to tell the user which words can be made...
  2. Re: User inputs a number of characters as a string, program then lists all the words from array that can be made

    Any suggestion what steps to make? Should I use StringBuilder?
  3. Re: User inputs a number of characters as a string, program then lists all the words from array that can be made

    This is starting code from the examen.

    import java.util.Scanner;

    public class TestYourMettle6 {

    String[] words = {"and", "love", "vole", "levo", "the"};

    public void...
  4. Re: User inputs a number of characters as a string, program then lists all the words from array that can be made

    Thanks for answer. I have main method, just forget to copy it here, sorry.
    String word = Arrays.toString(words); // I'll do that in order to use method IndexOf later in the code, but maybe it's my...
  5. Re: User inputs a number of characters as a string, program then lists all the words from array that can be made

    For example, if user input word ovle, the program must show levo, love, vole,velo. I'm using Intellij IDEA but have trouble with debugging, getting notification Disconnected from the target VM,...
  6. Thread: Greetings

    by p.katanic
    Replies
    0
    Views
    1,066

    Greetings

    I'm Peter, just started learning Java by myself. Hope that I will succeed
  7. User inputs a number of characters as a string, program then lists all the words from array that can be made

    Hello, I tried to solve these problem by myself but I realised that need help. I don't get annything at the output. Will be grateful for any help!

    This task have a three condition:
    1. Each...
Results 1 to 7 of 7