diff --git a/main.cpp b/main.cpp index f7245f8..23c419b 100644 --- a/main.cpp +++ b/main.cpp @@ -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: ";