19th Feb 2020, 12:32 PM
Денис Лапшин
Денис  Лапшин - avatar
3 Answers
+ 2
You used wrong number for indexing array element when you read the values. In the first loop; cin >> dney[i]; //cin >> dney[num];
19th Feb 2020, 12:49 PM
Ipang
+ 1
thanks a lot
19th Feb 2020, 2:10 PM
Денис Лапшин
Денис  Лапшин - avatar
0
No problem 👌
19th Feb 2020, 2:53 PM
Ipang