#include<iostre am>
using namespace std;
int main()
{
int a = 5;
int b = 5;
int c = 5;
int d = 5;
int e = 5;
int f = 5;
a = a++ + a++;
b = b++ + ++b;
c = ++c + c++;
d = ++d + ++d;
e = e++;
f = f + ++f;
cout << a++ << endl;
cout << ++b << endl;
cout << ++a << endl;
cout << c++ << endl;
cout << ++d << endl;
cout << d++ << endl;
cout << ++c << endl;
cout << ++f << endl;
return 0;
}
using namespace std;
int main()
{
int a = 5;
int b = 5;
int c = 5;
int d = 5;
int e = 5;
int f = 5;
a = a++ + a++;
b = b++ + ++b;
c = ++c + c++;
d = ++d + ++d;
e = e++;
f = f + ++f;
cout << a++ << endl;
cout << ++b << endl;
cout << ++a << endl;
cout << c++ << endl;
cout << ++d << endl;
cout << d++ << endl;
cout << ++c << endl;
cout << ++f << endl;
return 0;
}
Comment