+ 5
Program to read the numbers until -1 is encountered. Also count the negative and positive and zeroes entered by the user.
6 ответов
- 3
All the information/knowledge you need to do this is in the python Tutorial in SL.
Declare 3 variables.
Use a while loop to test for -1.
In the while loop use If-else statement to test the input(s) and increment the variables accordingly..
+ 3
Is this homework?
0
By
0
Program to read numbers until -1 is encountered.also count the negative/positive and zero's entered by users bye python
0
Write a program to read numbers until -1 is encountered. Also count the negative, positives and Zeros entered by the user.
0
Write a python program to read the numbers until-1 is encountered also counts the negative positive and zeroes entered by the user