Tuesday, October 1, 2019

Positive or negative using sub

DECLARE SUB CHECK(N)
INPUT"ENTER ANY NO";N
CALL CHECK(N)
END

SUB CHECK(N)
IF N>0 THEN
PRINT"THE GIVEN NO IS POSITIVE"
ELSEIF N<0 THEN
PRINT"THE GIVEN NO IS NEGATIVE"
END IF

  • END SUB 

No comments:

Post a Comment

Experience of covid-19 and cancelling SEE exam

A dangers virus called corona also know as COVID-19 took place around the world. This virus was first found in Wuhan china.this virus start...