Ticker

6/recent/ticker-posts

Program to check whether the number is positive, negative or zero

Here we have to check the number is Positive, Negative Or Zero, using if..elseif ladder statement we can easily set our algorithm to get this output

we get all the possible output and our program work correctly ie when we enter posititve number the output is shown as "Number is POSITIVE" if we change number then we get respective output in correct manner

Post a Comment

0 Comments

Ad Code

Join our New Telegram Channel