nvm, fixed the problem by converting the variable name to a string
Type: Posts; User: random123
nvm, fixed the problem by converting the variable name to a string
It's says Type mismatch: cannot convert from string to int.
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.*;...