0% found this document useful (0 votes)
14 views1 page

Pyton Decision 2

The document describes a program that checks if a given number A is positive or negative by reading A, comparing it to 0, and displaying either "A is positive" or "A is negative" based on whether A is greater than or less than 0 respectively.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views1 page

Pyton Decision 2

The document describes a program that checks if a given number A is positive or negative by reading A, comparing it to 0, and displaying either "A is positive" or "A is negative" based on whether A is greater than or less than 0 respectively.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

GIVEN NUMBER IS POSITIVE OR NEGATIVE

START

READ A B

FALSE
DISPLAY “A IS
A>0
NEGATIVE”

TRUE

DISPLAY “A
IS
POSITIVE”

STOP

You might also like