Saturday, October 16, 2021

WAP to print the following patterns: (USING SUB PROCEDURE)

WAP to print the following patterns:

1

1 1

1 1 1

1 1 1 1

1 1 1 1 1

CLS

CALL PAT

END

SUB PAT ( )

A$= "NEPAL''

FOR I = LEN (A$) TO 1   STEP -1

PRINT LEFT$ (A$,1)

NEXT I

END SUB

Click here for more...

No comments:

Post a Comment

Sharkey

Simple way to make website using HTML only.

 A simple way to make a website using HTML only. <!DOCTYPE html> <head>         <title>Document</title> </head...