Formatting.
This commit is contained in:
parent
18c5f972c2
commit
c89e5b4e6c
7
main.cpp
7
main.cpp
@ -15,9 +15,12 @@ int main()
|
|||||||
cin >> guess;
|
cin >> guess;
|
||||||
while (guess != secret)
|
while (guess != secret)
|
||||||
{
|
{
|
||||||
if (guess > secret) {
|
if (guess > secret)
|
||||||
|
{
|
||||||
cout << "Number too big ; ";
|
cout << "Number too big ; ";
|
||||||
} else {
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
cout << "Number too small ; ";
|
cout << "Number too small ; ";
|
||||||
}
|
}
|
||||||
gcount++;
|
gcount++;
|
||||||
|
Loading…
Reference in New Issue
Block a user