Learn Object Oriented Programming (OOP) in C++ / সি++ Here
ID : 201620195https://www.dropbox.com/s/tp7vybc4x3x7ge0/01.cpp?dl=0
ID:201610456https://drive.google.com/open?id=0B_PIGnOMR0K2OVk0T1J5d2dSWXM
http://ideone.com/cnKa76
ID:201520552https://ideone.com/hP7P4h
ID:201610254#includeusing namespace std;class odd_even{public: int a; void print(odd_even arg1,odd_even arg2) { cout<<"Enter a number:"; cin>>a; if(a%2==0) cout<<"This number is even"; else cout<<"This number is odd"; }};int main(){ odd_even obj,obj1,obj2; obj.print(obj1,obj2); return 0;}
https://drive.google.com/open?id=0Byxq3aat_mNSRHpnNXlvZ0R1ZzA
ID:201610058https://drive.google.com/open?id=0B7UQyRdu6h2weTNZVkFRNDRsWlk
https://drive.google.com/open?id=0BxajN_bZJJw0LU1sVlMyU09EWlk
https://drive.google.com/open?id=0B3bVD5Ppt_STbUJZbXpHVVAzbTQ
Comment Here
ID : 201620195
ReplyDeletehttps://www.dropbox.com/s/tp7vybc4x3x7ge0/01.cpp?dl=0
ID:201610456
ReplyDeletehttps://drive.google.com/open?id=0B_PIGnOMR0K2OVk0T1J5d2dSWXM
http://ideone.com/cnKa76
ReplyDeleteID:201520552
ReplyDeletehttps://ideone.com/hP7P4h
ID:201610254
ReplyDelete#include
using namespace std;
class odd_even
{
public:
int a;
void print(odd_even arg1,odd_even arg2)
{
cout<<"Enter a number:";
cin>>a;
if(a%2==0)
cout<<"This number is even";
else
cout<<"This number is odd";
}
};
int main()
{
odd_even obj,obj1,obj2;
obj.print(obj1,obj2);
return 0;
}
https://drive.google.com/open?id=0Byxq3aat_mNSRHpnNXlvZ0R1ZzA
ReplyDeleteID:201610058
ReplyDeletehttps://drive.google.com/open?id=0B7UQyRdu6h2weTNZVkFRNDRsWlk
https://drive.google.com/open?id=0BxajN_bZJJw0LU1sVlMyU09EWlk
ReplyDeletehttps://drive.google.com/open?id=0B3bVD5Ppt_STbUJZbXpHVVAzbTQ
ReplyDelete