Triplebyte interview question

Write a tic tac toe program taking input off console