#include "point.h"

struct Quad
{
  char label;
  point *vert;
};

int main()
{
  // Create quadrilateral S
  Quad S;
  S.vert = new point[4];

  // Read label and vertices
  cout << "Enter label and 4 vertices: ";
  cin >> S.label;
  for(int i = 0; i < 4; i++)
    cin >> S.vert[i];

  // Write label and vertices
  cout << "Your quadrilateral is " << S.label << " ";
  for(int j = 0; j < 4; j++)
    cout << S.vert[j] << ' ';
  cout << endl;

  return 0;
}