Wap to print only vowels from given word DECLARE SUB DIS(N$) CLS INPUT"ENTER ANY WORD";N$ CALL DIS(N$) END SUB DIS(N$) FOR I = 1 TO LEN(N$) B$=MID$(N$,I,1) C$=UCASE$(B$) IF C$="A" OR C$="E" OR C$="I" OR C$="O" OR C$="U" THEN PRINT C$ NEXT I END SUB
FATHER My father name is tej badhur thapa Magar. He is head of our family. He is our super hero Bec he made our life better than his. He is now 47 years old. His profession is weding designer. He work very hard to full fill our needs and give us better life. I am very thankful of my father.
Wap to find area of box DECLARE FUNCTION AR(L,B,H) CLS INPUT"ENTER LENGTH";L INPUT"ENTER BREADTH";B INPUT"ENTER HEIGHT";H PRINT"THE AREA OF BOX IS ";AR(L,B,H) END FUNCTION AREA(L,B,H) AR=2*(L*H+B*H+L*B) END FUNCTION
Comments
Post a Comment