Question
Your goal is to ask to user to choose a column and row and then display whether they hit or missed. Your program should have
Your goal is to ask to user to choose a column and row and then display whether they hit or missed. Your program should have the following: The name of the program should be Assignment2. 3 comment lines (description of the program, author, and date). Display the output from Assignment1. Prompt the user to enter a column and row. (Columns are A through J. Rows are 1-9) You will have one ship placed on the grid either horizontally or vertically. You will display whether the user hit or missed the ship
use only if else statements and answer all the parts of the question write the program in java
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started