+ 1

Please help needed for 3rd project of c++

I needed help with the 3rd project of c++ https://code.sololearn.com/c4S5krSp2SPp/?ref=app

2nd Nov 2021, 1:11 AM
Vardan Mishra
2 Antworten
+ 2
You defined variable "youngest" everytime you assigned a new value to it inside the loop. Here's your code fixed https://code.sololearn.com/c6MJjSVhOkS8/?ref=app
2nd Nov 2021, 1:40 AM
Rishi
Rishi - avatar
+ 1
Still didn't work and previously it passed 2 out of 3 and now only 1 out of 3 test
11th Nov 2021, 6:19 PM
Vardan Mishra