Member Avatar

The question is compPickInt will now be a 0,1, or 2. Use an ‘if-else if’ structure to convert the numbers to a char variable with the value of R or S or P and Prompt the user to enter R for Rock, S for Scissors or P for Paper. Use this java code to store the user’s choice as a char variable:char userPick = I can't do the convertion int to char and the display is wrong like that; I have my pick behind my back What is your pick? R, S, P P My pick = 2 Your …

+0 forum 0

The End.