Question: Make a simpe java code that asks if you are 18+ using arrays. MAKE SURE TO USE ARRAYS the question could be Are you
Make a simpe java code that asks if you are 18+ using arrays. MAKE SURE TO USE ARRAYS
the question could be " Are you 18?" type accept or decline and if they hit accept connect to this code:
System.out.println("Player 1, Please Enter your name! "); String Names1=console.next(); System.out.println("Player 2, Please Enter your name! "); String Names2=console.next();
and if they hit decline make sure it says nothing
FIND SOME WAY TO USE "ARRAYS"
Step by Step Solution
There are 3 Steps involved in it
import javautilScanner public class AgeVerification public static void mainString args Scanner scann... View full answer
Get step-by-step solutions from verified subject matter experts
