• JavaScriptPHPHTMLCssPythonWordPressWeb developmentLinuxMySQLAndroid
    WindowsJavaC++ / C#LayoutReactUbuntuYiiDjangoProgramming1C-Bitrix
    LaravelSystem administrationTelegramJSONDebianPostgreSQLIOSGoogleHtaccessWindows Server
    GitMacOSGoogle ChromeCMSWooСommerceBootstrapNginxSQLUnityAPI
  • Ask
  • Leaders

Categories

JavaScriptPHPHTMLCssPythonWordPressWeb developmentLinuxMySQLAndroidWindowsJavaC++ / C#LayoutReactUbuntuYiiDjangoProgramming1C-BitrixLaravelSystem administrationTelegramJSONDebianPostgreSQLIOSGoogleHtaccessWindows ServerGitMacOSGoogle ChromeCMSWooСommerceBootstrapNginxSQLUnityAPI
Programming
JavaScript PHP HTML Css Python WordPress Web development Linux MySQL Android Windows Java C++ / C# Layout React Ubuntu Yii Django Programming 1C-Bitrix Laravel System administration Telegram JSON Debian PostgreSQL IOS Google Htaccess Windows Server
Make a leaderReport
G
G
gvadelypa2020-05-29 15:30:13
C++ / C#
gvadelypa, 2020-05-29 15:30:13

How to make the console read numbers from a new line?

Let's say the input data is
1
2
3
...
How to read them from each line and put them in an array if the number of lines is not known?

Reply
Answer the question

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Report
L
LiptonOlolo, 2020-05-29
@NovichekTyrnira

Use List

Similar questions
Y
Ymamoro2020-03-28 01:52:58
Need to link to an article on Habré? 3Reply
I
IamCryptoTrader2017-12-28 08:04:37
Does the bot for trading on the crypto exchange send my data to third parties? 0Reply
Z
Zulusa2017-12-30 02:00:39
I want to display the result, but he just writes for how much it was compiled. What to do??? 2Reply
W
WeBBeW2017-12-31 19:01:35
What does this mean? Warning: mysqli_fetch_array(): The result type should be either MYSQLI_NUM, MYSQLI_ASSOC or MYSQLI_BOTH in? 3Reply
P
poehavshee2018-01-16 21:50:35
They invited you to work as a ui / ux designer, you don’t have enough knowledge, what to pull up? 4Reply

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question

banners