#include<iostream>
using namespace std;
class anik
{
public:
int id;
double cgpa;
};
int main()
{
anik rafiq, oni;
rafiq.id = 18101083;
rafiq.cgpa = 3.75;
oni.id = 18101094;
oni.cgpa = 3.50;
cout << "Rqfiq :: \n" << "id : " << rafiq.id << endl << "CGPA : " << rafiq.cgpa << endl << endl;
cout << "Oni :: \n" << "id : " << oni.id << endl << "CGPA : " << oni.cgpa << endl;
return 0;
}
using namespace std;
class anik
{
public:
int id;
double cgpa;
};
int main()
{
anik rafiq, oni;
rafiq.id = 18101083;
rafiq.cgpa = 3.75;
oni.id = 18101094;
oni.cgpa = 3.50;
cout << "Rqfiq :: \n" << "id : " << rafiq.id << endl << "CGPA : " << rafiq.cgpa << endl << endl;
cout << "Oni :: \n" << "id : " << oni.id << endl << "CGPA : " << oni.cgpa << endl;
return 0;
}
Comments
Post a Comment