CLS
A=1
B=1
FOR I= 1to 10
PRINT A
C=A+B
A=B
B=C
NEXT I
END
Wednesday, 30 October 2019
Armstrong
CLS
INPUT “Enter any number”;N
A=N
S=0
WHILE N<>0
R=N MOD 10
S=S+R^3
N=N\10
WEND
IF A=S THEN
PRINT “The given no is Armstrong
ELSE
PRINT “The given no is not Armstrong
END IF
END
INPUT “Enter any number”;N
A=N
S=0
WHILE N<>0
R=N MOD 10
S=S+R^3
N=N\10
WEND
IF A=S THEN
PRINT “The given no is Armstrong
ELSE
PRINT “The given no is not Armstrong
END IF
END
Palindrome
CLS
INPUT “Enter any number”;N
A=N
S=0
WHILE N<>0
R=N MOD 10
S=S*10+R
N=N\10
WEND
IF A=S THEN
PRINT “The give no is palindrome
ELSE
PRINT “The give no is not palindrome
END IF
END
Product of digits
CLS
INPUT “Enter any number”;N
P=1
WHILE N<>0
R= N MOD 10
P= P*R
N=N\10
WEND
PRINT “Products of digits =“;p
END
INPUT “Enter any number”;N
P=1
WHILE N<>0
R= N MOD 10
P= P*R
N=N\10
WEND
PRINT “Products of digits =“;p
END
Sum of digits
CLS
INPUT “ Enter any number”N
S = o
WHILE N<>0
R = N MOD 10
S = S+ R
N = N\ 10
WEND
PRINT “Sum of digits=“;S
END
INPUT “ Enter any number”N
S = o
WHILE N<>0
R = N MOD 10
S = S+ R
N = N\ 10
WEND
PRINT “Sum of digits=“;S
END
Greatest among 3 number
CLS
INPUT “Enter any three number”;ABC
IF A > B and B > C THEN
PRINT “The greatest number is”;A
ELSE IF B > A AND B > C THEN
PRINT “The greatest number is “;B
ELSE
PRINT “The greatest number”; C
END IF
END
INPUT “Enter any three number”;ABC
IF A > B and B > C THEN
PRINT “The greatest number is”;A
ELSE IF B > A AND B > C THEN
PRINT “The greatest number is “;B
ELSE
PRINT “The greatest number”; C
END IF
END
Display odd or even
CLS
INPUT “Enter any number”;N
IF N MOD 2 = 0 THEN
PRINT “The given number is even”
ELSE
PRINT “The given number is odd
END IF
END
INPUT “Enter any number”;N
IF N MOD 2 = 0 THEN
PRINT “The given number is even”
ELSE
PRINT “The given number is odd
END IF
END
WAP To find positive negative or zero
CLS
INPUT “Enter any number”;N
IF N>0 THEN
PRINT “Positive number”
ELSE If N <0 Then
PRINT “Negative number”
ELSE
PRINT “Zero number”
END
INPUT “Enter any number”;N
IF N>0 THEN
PRINT “Positive number”
ELSE If N <0 Then
PRINT “Negative number”
ELSE
PRINT “Zero number”
END
WAP To find volume of cyclinder
CLS
INPUT “Enter radius”;R
INPUT “Enter height”;H
V=22/7*R^2*H
PRINT “Volume of cylinder =“;V
END
INPUT “Enter radius”;R
INPUT “Enter height”;H
V=22/7*R^2*H
PRINT “Volume of cylinder =“;V
END
Monday, 14 October 2019
WAP To find volume of box
CLS
INPUT “Enter length”;L
INPUT “Enter breath”;B
INPUT “Enter height”; H
V=L*B*H
PRINT “Volume of box”; V
END
INPUT “Enter length”;L
INPUT “Enter breath”;B
INPUT “Enter height”; H
V=L*B*H
PRINT “Volume of box”; V
END
WAP To find area of 4 walls
CLS
INPUT “Enter the length”;L
TNPUT “Enter the breath “;B
INPUT “Enter the height”;H
A=2*H*(L+B)
PRINT “Area of 4 wall=“;A
END
INPUT “Enter the length”;L
TNPUT “Enter the breath “;B
INPUT “Enter the height”;H
A=2*H*(L+B)
PRINT “Area of 4 wall=“;A
END
WAP to find area of triangle
CLS
INPUT “Enter any three side value”;ABC
S=(A+B+C)/2
AR=S*(S-A)*(S-B)*(S-C)^(1/2)
PRINT “Area of triangle =“;AR
END
INPUT “Enter any three side value”;ABC
S=(A+B+C)/2
AR=S*(S-A)*(S-B)*(S-C)^(1/2)
PRINT “Area of triangle =“;AR
END
WAP to find the area of rectangle
CLS
INPUT “Enter length “L
INPUT “Enter breath “B
A=L*B
PRINT “Area of rectangle”;A
END
INPUT “Enter length “L
INPUT “Enter breath “B
A=L*B
PRINT “Area of rectangle”;A
END
Tuesday, 3 September 2019
My father
My father name is hirakaji maharjan he is .... year old he is best father he have personality that every father should have . He is most genius father he always suggests me good things what to do and what to not do he cool father The always help me
At last I want to say that my father is the best father
At last I want to say that my father is the best father
Sunday, 2 June 2019
1 day with police
I am om maharjan and student of class 9 and I am
To share about 1 day of police at 2076/2/16. At first we meat two police and we have taken police
Headquarter at 10:30 there where one police sir and he explained about cybercrime and disadvantaged of internet and social media and many other
To share about 1 day of police at 2076/2/16. At first we meat two police and we have taken police
Headquarter at 10:30 there where one police sir and he explained about cybercrime and disadvantaged of internet and social media and many other
Friday, 17 May 2019
AANDHI KO MANORAM NRITYA
Drama is a composition in verse or prose presenting a story in pantomime or dialogue. It contains conflict of characters, particularly the ones who perform in front of audience on the stage.Our school gave us a chance to watch drama based on teenagers' psychology. It is a drama based on true facts of teenagers' and Nepalese society. It creates conflict of characters, particularly the ones and perform infront of audiences on the stage. We were taken to Shilpee Theatre situated at Battisputali on 9th May, 2019. The name of our drama was "Aandhiko Manoram Nritya". The duration time of drama was One and half hour. It was the drama based on daily struggles of adolescent.
This drama is a tale of teenagers' psychology and the tragedy that they have experienced.This drama gave us the knowledge about teenagers. Modernity and urbanization has begun to drink new generation from the transition of life to Nepalese society.This drama was literally related to all of the teenagers. Is the responsibility of parents fulfilled when the children are exposed to the school bus after feeding them and making them ready for school? Can parents expect the positive progress of children by paying expensive fees only? The drama raised these questions. It was a live show.The drama has sprouted what condition and what the genre is growing in between the new generations.
Lastly, I am so glad that our school took us to watch this heart-touching drama. This drama was presented in a fabulous way. The actors were outstanding and their acting was marvellous. The timing and choreography was amazing. The drama has inspired many of the students. It was one of the best drama that i have ever seen in my entire life.
THANK YOU
Subscribe to:
Posts (Atom)