Computer Science, asked by mustafa699, 7 months ago

write a programme to find out weather a number subtracted from 5.5 is a positive number or nagetive number using ternary operator ​

Answers

Answered by Kaushikkalesh
0

n = float(input())

sol = "Negative" if n>5.5 else "Positive"

print(sol)

Note - The Code is in Python

Please Thank Me

And Mark this as Brainliest

Similar questions