1 PRINT "Kindly enter your next number, Master, or 'x' to end and total them up."
2 INPUT a$: IF a$ = "x" or a$ = "X" then GOTO 10
3 K = VAL(a$)
4 If K<0 then neg=neg+1: PRINT: GOTO 1
5 If K>0 then pos=pos+1: PRINT: GOTO 1
6 If K=0 then Z=z+1: PRINT: GOTO 1
10 PRINT: PRINT "Thank you, Master. I cannot express the joy that this exercise
has brought me. Here are your results: "
11 PRINT: PRINT "The number of positive numbers you entered was "; pos; "."
12 PRINT: PRINT "The number of negative numbers you entered was "; neg; "."
13 PRINT: PRINT "The number of zeros you entered was "; Z; "."
15 PRINT: PRINT: PRINT "Would you like to play again, Master ?"
16 PRINT "Kindly touch 'x' if no, or any other key if yes. I can hardly wait."
17 Input a$: IF a$ <> "X" and a$ <> "x" then GOTO 20
18 PRINT: PRINT "It has been my pleasure to cavort with you today, Master."
19 PRINT "Y'all come back now, y'hear !" : END
20 PRINT: CLS: PRINT "Oh GOODY! I love this game!"
21 pos=0: neg=0: Z=0
22 GOTO 1
Negative number and positive numbers are all numbers. Negative numbers are just positive numbers multiplied by -1.
Negative * positive = negative Positive * positive = positive Negative * negative = positive
(The product of 33 negative numbers) x (2 positive numbers) = (negative sign) x (positive sign) = negative sign
negative
positive
Negative number and positive numbers are all numbers. Negative numbers are just positive numbers multiplied by -1.
Negative * positive = negative Positive * positive = positive Negative * negative = positive
Negative because product of 47 negative numbers is negative and product of three positive number is Positive , so negative*positive = Negative.
(The product of 33 negative numbers) x (2 positive numbers) = (negative sign) x (positive sign) = negative sign
negative
positive
'cuz
Positive x Positive =Positive Positive x Negative= Negative Negative x Positive= Negative Negative x Negative =Positive
It is positive. Any product of an even number of negative numbers will be positive, regardless of how many positive numbers you have. Similarly any product of an odd number of negative numbers will be negative, regardless of how many positive numbers you have.
Positive numbers, on your door. Negative in your freezer.
yes integers are all numbers negative and positive
Positive numbers are larger than negative ones.