0

C Input

How to receive inputs based on the previous input? For example, The first input is 4, and now i need to receive 4 inputs more.

30th Mar 2020, 1:06 PM
Uri
4 Réponses
+ 2
You write a loop that runs as often as your first input, and store each following input by index in an array.
30th Mar 2020, 1:14 PM
HonFu
HonFu - avatar
+ 1
The 4 inputs u need to store them in 4 different variables or in list ?
30th Mar 2020, 1:17 PM
Muhammad Galhoum
Muhammad Galhoum - avatar
0
List.
30th Mar 2020, 1:39 PM
Uri
0
what type of inputs ? String , int ,double ,.... Uri
30th Mar 2020, 4:15 PM
Muhammad Galhoum
Muhammad Galhoum - avatar