I have only recently begun to use java, so apologies if this is a really stupid question, but how do you go about using and statements.
for example if a user has to input a variable and it has to be between 40 and 60, what would be the code used to do this.
I have been searching around the internet for a while and I can't find the answer anywhere.
for example if a user has to input a variable and it has to be between 40 and 60, what would be the code used to do this.
I have been searching around the internet for a while and I can't find the answer anywhere.
Comment