I have some loop:
for(int i=0; i<rolls; i++)
{
first = rand()%6+1;
second = rand()%6+1;
cout<<'('<<first<<')';
for(int j=0; j<first; j++)
{
cout<<'*';
}
cout<<'\t'<<'('<<second<<')';
for(int j=0; j<second; j++)
{
cout<<'*';
}
cout<<endl;
}
It runs great but i have some problems with my output:
CPU Player
(2)** (3)***
(4)**** (1)*
(6)****** (5)*****
(5)***** (6)******
(1)* (5)*****
(3)*** (1)*
(4)**** (2)**
(3)*** (1)*
(1)* (5)*****
(5)***** (4)****
(2)** (6)******
(5)***** (3)***
Whats wrong with this tabulations?