// Definition struct house { string address; float price; int size; }; //Declaring variables and using house myHouse; myHouse.address = "4401 University Drive"; myHouse.price = 340000.56; myHouse.size = 4563; cout << "$" << myHouse.price << endl; // function to print a "house" void print(const house& h) { cout << h.address << endl; cout << "Price: $" << h.price << endl; cout << "Size: " << h.size << " square meters. " << endl; } // more examples struct date { int year; int month; int day; }; struct name { string given; string surname; }; struct person { name myName; int age; date birthdate; }; struct point { int x; int y; }; struct line { point end1; point end2; }; struct circle { point centre; double radius; };