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

1 Expert Approved Answer
Step: 1 Unlock

import javautilScanner public class AgeVerification public static void mainString args Scanner scann... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!