Positive number

  • 3
  • Locked
Use the keyboard to enter three integers. Display the number of positive numbers in the original set. Here are some examples: a) if you enter the numbers -4 6 6 then we display 2 b) if you enter the numbers -6 -6 -3 then we display 0 c) if you enter the numbers 0 1 2 then we display 2
You can't complete this task, because you're not signed in.
Comments (5)
  • Popular
  • New
  • Old
You must be signed in to leave a comment
yushil Java Developer
1 June, 06:02
Alhough other ways of solutions gives exactly the right answer, it is not accepted by Codegym. It push us to solve the question in its own way. Is that also the teaching method.
Roman
Level 41
1 June, 07:22
"Alhough other ways of solutions gives exactly the right answer, it is not accepted by Codegym." If you send me an example of such a solution, I can check what the problem is
Tasmoda Android Developer
16 March, 22:05
After a good 6 hours and 10 verification attempts, I got it right! ----Let's go soldiers!💪
Joshua Zellner
Level 10 , United States of America, United States
7 January, 20:44
these are starting to get tough 💪
Siyanda Dlamini
Level 7 , Durban, South Africa
10 March, 14:01
Well I guess that is the purpose of gym, it gradually gets harder.