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 Write in C ++ program and use only if and else statements or switch statements and answer all the steps
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