Help please. Why my code is not working | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
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