i have a program in java that has an assigned target number that must be between 1 to 100 in the initial code under the class GuessNUmber
the target is as follows: public static final int TARGET = 37;
the assignment asks me to modify it so that it generates random numbers for the TARGET how do i do this ????
Re: assignement help
Welcome to the forum! Please read this topic to learn how to post code in code or highlight tags and other useful info for new members.
Refer to the Java Random API page. Come back if you have questions after that, with code if possible.