Question: Can I pls get the code for Rock Paper Scissors try to figure out the below Visual Basic code to fit in a Java program.
Can I pls get the code for Rock Paper Scissors
try to figure out the below Visual Basic code to fit in a Java program. I've already received a few, and just a heads up - some of the ways that VB declares variables are different in Java. CONSTS do not exist in Java, so in the Rock Paper Scissors declarations, you'd have declare each one of those as an int (example int ROCK = 1;).
Also, labels do not exist in a console application...so you'd use system.out.print (or println).
Aaaaand, you'd probably have to import Math.Random in order to get the random to function. And, for user input, should you use scanner or io?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
