#include<iostream>
using namespace std;
class anik
{
public :
int id;
double cgpa;
rob()
{
cout << "ID :: " << id << "\nCGPA :: " << cgpa << endl;
}
};
int main()
{
anik faria;
faria.id = 18101073;
faria.cgpa = 3.96;
faria.rob();
return 0;
}
using namespace std;
class anik
{
public :
int id;
double cgpa;
rob()
{
cout << "ID :: " << id << "\nCGPA :: " << cgpa << endl;
}
};
int main()
{
anik faria;
faria.id = 18101073;
faria.cgpa = 3.96;
faria.rob();
return 0;
}
Comments
Post a Comment