On a chessboard, positions are marked with letters between a and h for the column and a number between 1 and 8 for the row. The first place on the board, a1, is black. The next is white, alternating across a row. Odd rows start with black, even rows start with white. Give a 2 character input string with a letter (a-h) and a number (1-8), print "Black" or "White" indicating if the square is black or white.

Complete the following file:

prog.cpp

#include <iostream> #include <string> using namespace std; int main() { string input = "a1"; string column = input.substr(0, 1); string row = input.substr(1, 1); string output; cout << output << endl; return 0; }