Этот коммит содержится в:
2024-05-26 20:16:42 +03:00
родитель 11e238665d
Коммит a6aa3d3ca0

Просмотреть файл

@@ -15,10 +15,17 @@ struct Input {
};
Input
input_data(istream& Newcin) {
input_data(istream& Newcin){
size_t number_count;
cerr << "Enter number count: ";
Newcin >> number_count;
bool prompt;
cerr << "Do you want any prompts? Enter 'true' if yes, 'false' if no: ";
Newcin >> prompt;
if (prompt){
cerr << "Prompt";
}
Input in;
in.numbers.resize(number_count);
cerr << "Enter numbers: ";