Thursday, October 3, 2019

To check whether the given no. is divisible by 13 or not.(SUB)

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

SUB CHECK(N)
IF N MOD 13 = 0 THEN
PRINT"THE NO. IS DIVISIBLE BY 13"
ELSE
PRINT"THE NO. IS NOT DIVISIBLE BY 13'
END IF 
END SUB

No comments:

Post a Comment

Experience of Quarantine and SEE canceled

Our SEE was canceled due to the outbreak of Corona Virus (COVID-19). It's been 3 months since the Nepalese people have been staying home...