diff options
Minor formatting adjustments
1 files changed, 5 insertions, 5 deletions
| -rw-r--r-- | Year 1/Programming introduction/Homeworks/homework1.cpp | 10 |
diff --git a/Year 1/Programming introduction/Homeworks/homework1.cpp b/Year 1/Programming introduction/Homeworks/homework1.cpp index a986744..c267a24 100644 --- a/Year 1/Programming introduction/Homeworks/homework1.cpp +++ b/Year 1/Programming introduction/Homeworks/homework1.cpp @@ -1,4 +1,4 @@ -#include <iostream> // cin, cout +#include <iostream> // cin, cout, endl #include <cmath> // fabs, sqrt #include <stdlib.h> // rand, srand @@ -166,9 +166,9 @@ void ex2() unsigned int blueberryMarmalades = 0, peachMarmalades = 0, rosehipMarmalades = 0; readCodesAndCountMarmalades(archiveLength, &blueberryMarmalades, &peachMarmalades, &rosehipMarmalades); - cout << "Мармалад от боровинки: " << blueberryMarmalades << endl; - cout << "Мармалад от праскови: " << peachMarmalades << endl; - cout << "Шипков мармалад: " << rosehipMarmalades << endl; + cout << "Blueberry marmalades: " << blueberryMarmalades << endl; + cout << "Peach marmalades: " << peachMarmalades << endl; + cout << "Rosehip marmalades: " << rosehipMarmalades << endl; } /* @@ -326,7 +326,7 @@ void playBullsAndCows() } } - cout << "You lose! The number was " << secNum << " and you couldn't guess it in " << N << "guesses!" << endl; + cout << "You lose! The number was " << secNum << " and you couldn't guess it in " << N << " guesses!" << endl; } void ex4() |
