Computer Science, asked by sanjeevssoni, 7 months ago

Send Feedback
Given an integer n, find if n is positive, negative or 0
If n is positive, print "Positive"
If n is negative, print "Negative"
And if n is equal to 0. print "Zero"
Input Format :
Integer n
Output Format:
"Positive" or "Negative" or "Zero" (without double
quotes)
Constraints:
1 <= n <= 100
Camolenu 1​

Answers

Answered by Anonymous
32

Answer:

num = float(input("Enter a number: "))

if num > 0:

print("Positive number")

elif num == 0:

print("Zero")

else:

print("Negative number")

Answered by Itzpurplecandy
0

Answer:

  • A Package can be defined as software written to perform a particular task. Therefore, a Spreadsheet Package is a program that enables the computer user to carry out calculation-related tasks. Spreadsheets are majorly used for organizing and analysing numeric data.
Similar questions