Friday, October 4, 2019

Qbasic to check no is positive,negative or zero

CLS
INPUT "Enter any number"; N

IF N>0 THEN
PRINT "The number is positive"

ELSEIF N<0 THEN
PRINT " The number is negative"

ELSE
PRINT "The number is zero"

END IF
END

No comments:

Post a Comment

Peer to Peer Network

Peer to Peer Network Peer-to-Peer  is a  network model in which each computer can function as both a client and a server. Any computer in th...