Given a point with integer coordinates (x, y) and a compass direction NW, NE, SW, SE, print the neighboring lattice point in the given direction. A lattice is a structure in which all points are equidistant away from one another, in this case, each is point is 1 unit away in either the x or y direction. Print the new point in the format (x, y).

Complete the following file:

prog.cpp

#include <iostream> #include <string> using namespace std; int main() { int x = 0; int y = 0; string direction = "NW";
cout << "(" << x << ", " << y << ")"; return 0; }