- 1

How to display into a lists of inputs from the 5 users

7th Feb 2022, 1:52 AM
Marjy Caliso
Marjy Caliso - avatar
2 Answers
+ 1
Marjy Caliso int a,b,c,d,e; scanf("%d%d%d%d%d",&a,&b,&c,&d,&e); is five inputs or int n_users; /* number users or number of loops */ int input; scanf("%d", &n_users); for (int c = 0; c <= n_users-1; c++){ scanf("%d", &input); }
19th Feb 2022, 6:04 AM
BroFar
BroFar - avatar
0
Plz add more context.
7th Feb 2022, 7:44 AM
Edilson Zau
Edilson Zau - avatar