Sunday, February 1, 2026

To check whether number is positive or negative.

Check whether the number is negative or positive after taking a number as input from the user.

TextWindow.WriteLine("Enter any Number ")

num=Textwindow.ReadNumber()

If num<0 Then

  TextWindow.WriteLine("It's Negative Number")

Else

  TextWindow.WriteLine("It's Positive Number ")

EndIf

Output








No comments:

Post a Comment

Computer Network & Computer Features | Bal Varg | Computer Questions List!

  Computer Network & Computer Features 1) _______ is a thin strip like bar present at the bottom of the screen.   Taskbar 2) _______ ser...