Wednesday, February 6, 2019

POSITIVE AND NEGATIVE NUMBER CHECKER IN PYTHON

Here is a simple code that I wrote in Python to check for positive and negative number given by the user.

I  am currently accepting programming work, IT projects, school and application development.

programming projects, thesis and capstone projects, IT consulting.

work, computer tutorials, and web development work kindly contact me in the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.
My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod I also accepting computer repair, networking and Arduino Project development at a very affordable price.
My personal website is http://www.jakerpomperada.com

Sample Program Output


Program Listing

# February 5, 2019
# Bacolod City, Negros Occidental
print()
print("\tPOSITIVE AND NEGATIVE NUMBER CHECKER");
print()
num_value  = int(input('\tGive a Number :  '))
print()

if (num_value >=0) :
    print("\tThe given number %d is a Positive Number."% num_value)

if (num_value<0) :
    print("\tThe given number %d is a Negative Number." % num_value)

print();
print("\tEND OF PROGRAM");
print("\n\n");




No comments:

Post a Comment