Changed the code formatting a bit
This commit is contained in:
parent
959a55d4d0
commit
48a2c065f0
BIN
bin/Bowling
Executable file
BIN
bin/Bowling
Executable file
Binary file not shown.
@ -20,7 +20,6 @@ void PrintFrames::PrintHeader(vector<int> rolls){
|
||||
}
|
||||
|
||||
cout << " f" << i << " ";
|
||||
|
||||
frame += 1;
|
||||
}
|
||||
|
||||
@ -33,7 +32,6 @@ void PrintFrames::PrintHeader(vector<int> rolls){
|
||||
}
|
||||
|
||||
cout << " f" << i << " ";
|
||||
|
||||
frame += 2;
|
||||
}
|
||||
|
||||
@ -82,7 +80,6 @@ void PrintFrames::PrintValue(vector<int> rolls){
|
||||
}
|
||||
|
||||
cout << "X ";
|
||||
|
||||
frame += 1;
|
||||
}
|
||||
|
||||
@ -95,7 +92,6 @@ void PrintFrames::PrintValue(vector<int> rolls){
|
||||
}
|
||||
|
||||
cout << rolls[frame] << ", /";
|
||||
|
||||
frame += 2;
|
||||
}
|
||||
|
||||
@ -107,6 +103,7 @@ void PrintFrames::PrintValue(vector<int> rolls){
|
||||
else if (rolls[frame + 1] == 0) {
|
||||
cout << rolls[frame] << ", -";
|
||||
}
|
||||
|
||||
cout << "" << rolls[frame] << ", " << rolls[frame + 1];
|
||||
frame += 2;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user