#include <iostream>

using namespace std;

struct point{
           int x ,y;
    };

struct point2{
       int z , n;
};

struct point3{
       int x1 , y1;
};

struct point4{
        int x2,y2;
};

struct point5{
       int x3, y3;
};


int main(){

    struct point p1 = {20 , 30};

    struct point2 p2 = {45, 55};

    struct point3 p3 = {77,89};

    struct point4 p4 = {99, 110};

    struct point5 p5 = {112 , 115};




    
    cout<<"x = " <<p1.x<< "y = 30" << endl;

    cout<<"z = " <<p2.z<< ", " << "n = "<<p2.n<< " "<< endl;

    cout<<"x1 = " <<p3.x1<< " ,"<< "y1 = "<<p3.y1<< ". "<<endl;

    cout<<"x2 = " <<p4.x2<< "," <<"y2 = "<<p4.y2<<"."<<endl;

    cout<<"x3 = "<<p5.x3<< "," <<"y3 = "<<p5.y3<< "."<<endl;

    
    
    return 0;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: