#include
#include
using namespace std;
int main()
{
int i,sum = 0;
for(i = 1;i sum += i;
cout
system("PAUSE");
return 0;
}
#include
#include
using namespace std;
int main()
{
int i;
cin>>i;
switch(i)
{
case 0:
cout case 1:
cout case 2:
cout case 3:
cout case 4:
cout case 5:
cout case 6:
cout default:
cout }
system("PAUSE");
return 0;
}
#include
#include
using namespace std;
int main()
{
int i;
cin>>i;
if(i >=0 && i (if(i != 6)
cout else
cout system("PAUSE");
return 0;
}
#include
#include
using namespace std;
int main()
{
int x,y,z;
char s[3] = {'X','Y','Z'};
for (x=0;x for (y=0;y for (z=0;z if(x!=0&&(z == 0|| z == 2)&&x!=y&&y!=z&&x!=z)
{
cout cout }
system("PAUSE");
return 0;
}
#include
#include
using namespace std;
int main()
{
int x,y,z;
char s[3] = {'X','Y','Z'};
for (x=1;x for (y=1;y for (z=1;z if(x!=1&&(z == 1|| z == 3)&&x!=y&&y!=z&&x!=z)
{
cout cout }
system("PAUSE");
return 0;
}