Search:

Type: Posts; User: random123

Search: Search took 0.10 seconds.

  1. Replies
    5
    Views
    874

    Re: Error in Java program

    nvm, fixed the problem by converting the variable name to a string
  2. Replies
    5
    Views
    874

    Re: Error in Java program

    It's says Type mismatch: cannot convert from string to int.
  3. Replies
    5
    Views
    874

    Error in Java program

    I'm trying to write a program that asks a user for their name and number. Then the program should display the name and a random number from 0 to that number. Here is the code:

    import java.util.*;...
Results 1 to 3 of 3