QBASIC PROGRAM TO FIND FACTORIAL USING FUNCTION. DECLARE FUNCTION FACT(N0 CLS INPUT"ENTER ANY NUMBER";N PRINT"FACT=";FACT(N) END FUNCTION FACT(N) F=1 FOR I= 1 TO N F=F*I NEXT I PRINT"FACTORIAL=";F END SUB
Posts
Showing posts from September, 2019
- Get link
- X
- Other Apps
QBASIC PROGRAM TO PRINT ONLY VOWELS FROM GIVEN WORD USING SUB. DECLARE SUB DISPLAY(N$) CLS INPUT"ENTER ANY NUMBER";N$ CALL DISPLAY(N$) END SUB DISPLAY"(N$) FOR I=1 TOO LEN(N$) B$=MID$(N$,I,1) C$=UCASE$(B$) IF C$="A" OR C$"E" OR C$="I" OR C$="I" OR C$="O" OR C$="U" THEN D$=D$+B$ NEXT I PRINT"VOWELS=";D$ END SUB
- Get link
- X
- Other Apps
QBASIC PRPGRAM TO FIND GREATEST AMONG 3 NUMBERS USING SUB. DECLARE SUB GREAT(A,B,C) CLS INPUT"ENTER FIRST NUMBER";A INPUT"ENTER SECOND NUMBER";B INPUT"ENTER THIRD NUMBER";C CALL GREAT(A,B,C) END SUB GREAT (A,B,C) IF A>B AND A>C THEN PRINT"GREATEST NO. IS";A ELSEIF B>A AND B>C THEN PRINT"THE GREATEST NO.IS";B ELSE PRINT"THE GREATEST NO. IS";C END IF END SUB
- Get link
- X
- Other Apps
QBASIC PROGRAM TO FIND TOTAL NO. OF VOWELS IN A WORD USING FUNCTION. DECLARE FUNCTION COUNT(N$) CLS INPUT"ENTER ANY WORD";N$ PRINT"TOTAL NO.OF VOWELS=";COUNT(N$) END FUNCTION COUNT(N$) C=O 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 C=C+1 NEXT I COUNT=C END FUNCTION
- Get link
- X
- Other Apps
QBASIC PROGRAM TO FIND TOTAL NO.OF VOWELS IN A GIVEN WORD USING SUB. DECLARE SUB DISPLAY(N$) CLS INPUT"ENTER ANY WORD";N$ CALL DISPLAY(N$) END SUB DISPLAY(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 D$=D$+B$ NEXT I PRINT"VOWELS+";D$ END SUB
My Father
- Get link
- X
- Other Apps
My Father (APPA) My favorite person my Father.He is the one who had always been there for me in my difficult times.My father name is Temba sherpa. He was a mounatiner. He Passed away when he was 36.He was a very kind hearted and helpful person. My Amma used to tell me and my brother about him. For me he was the best person and he will always be the best person.He has been supported us from the very beginning of our life.He has given us all the love and support a father can give to their family. APPA you were and always be my biggest suppoter aand inspiration.I have no doubt that god took a piece of you to make me for the person i am a smaller girlier version of you.I cant thank my stars for having you in my life.
- Get link
- X
- Other Apps
ELECTION COMMISSION On the date of 30th august we student of grade 10 visited election commission. Some of the students visited the election commission last year also but for me it was the first time visiting election commission.We went there with our social teacher Raju maratha sir and our Vice Principle Mr Murali raj aryal.We were taught and guided by the two members of the election commission. Firstly, we were divided in two groups and one group was taken to show a documentry and another group went to the game session.We got to know about the history of election and from the game section we got to get knowledge about election.After that we were given class on election process.The class was for 3 hours.They showed us electronic voting machine.We also conducted mock election for practice. I am really thankful to our school adminstrative for taking us...