0
Hello :)
How can i start i have that question Read integers until 0 has been read five times, print how many numbers were read
6 Réponses
+ 2
Show your attempt!
Hint: counter is set to 0
use while loop, take input in every loop. If the input is 0 increase the counter by 1. And the while loop condition can be 'while (counter < 5)'.
And pls use relevant heading
+ 1
thank you very much: 3
+ 1
Benjamín Ramires Ok wait! I am sending you the solution
0
I don't understand how I can repeat 5 times 0 :(
0
I interpreted your question this way!
Pls check is this what you wanted?
https://code.sololearn.com/c8xVhcKTn1md/?ref=app