From 624518fd555b54bcf8719786559861d9d6125ffc Mon Sep 17 00:00:00 2001 From: Syndamia Date: Wed, 24 Nov 2021 17:46:39 +0200 Subject: Minor formatting adjustments --- Year 1/Programming introduction/Homeworks/homework1.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Year 1/Programming introduction/Homeworks/homework1.cpp') 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 // cin, cout +#include // cin, cout, endl #include // fabs, sqrt #include // 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() -- cgit v1.3.1-23-gd82d