Write a program that reads a chessboard configuration and identifies whether a king is under attack(in check). A king is in check if it can be taken by the opponent on the opponents next move. White pieces are represented by uppercase letters and black pieces by lowercase letters. The white side will always be on the bottom of the board and the black side always on the top. Your program will read a board configuration from a file and indicate which king is in check or indicate that no king is in check.
Must use file to represent board ex.) chessboard.txt