Posts

Tree

There exist a tree unbent and unbroken. Its straight trunk inspired me to cogitate what have I done to be proud of.
Image
Tour to Chitlang Date: 29 th January to 1 st February Total time: 1 night 2 days Participants: Dipendra Nepal, SarikaShrestha, PrabeshBardewa, YashodaKhadka, AshishPokhrel, Dinesh Poudel, Prajwal Badal,Salil K.C., Rabin Kaduwal, Alisha Tamang, Roman Mahat, Yashoda Ghimire, Rupesh Kafle, Dipendra Basnet, Jyoti Thami, ShristyKarki, Meghana Rai, Sachita Buddhathoki, SrijaAdhikari, Cosmic Koirala, AdityaBhujel, Alen K.C., Amrit Koirala, AdipThapa, Karma Tshering Sherpa, Pradeep Magar, Krishna Govaju, Bipal Kattel, Sabin Shrestha, Sabin Poudel and Sujan Gurung                                                        Teachers: Murari sir, Deepak sir and Samuel sir Map of Chitlang “Travelling broa...

Assignment for class IX (part iii)

WAP to enter any number and display:            1.     To reverse the given digits .  Ans   à REM CLS S=0 INPUT “Enter a number”; N WHILE N<>0 R=N MOD 10 S=S * 10 + R N=N\10 WEND PRINT “The reverse number is”; S END 2.       To display product of entered digits.  Ans   à REM CLS P=1 INPUT “ENTER A NUMBER”; N WHILE N<>0 R= N MOD 10 P= P *R N= N\10 WEND PRINT “THE PRODUCT OF ENTERED DIGITS IS”; P END 3.     To display product of even digits.  Ans   à REM CLS P=1 INPUT “ENTER A NUMBER”; N WHILE N<>0 R= N MOD 10 IF R MOD 2=0 THEN P= P*R N=N\10 WEND PRINT “THE PRODUCT OF EVEN DIGITS IS”; P END 4.     To display product of odd digits.  Ans   à REM CLS P=1 INPUT “ENTER A NUMBER”; N WHILE N<>0 R= N MOD 10 IF R MOD 2=1 THEN P= P*R N=N\10 WEND PRINT “THE...

Assignment for class IX (part ii)

WAP to enter any number and display:            1.     Sum of digits.  Ans   à REM CLS S: 0 INPUT “ENTER A NUMBER”;N WHILE N <> 0 R = N MOD 10 S = S + R N = N \10 WEND PRINT “SUM OF DIGITS IS” ; S END 2.     Sum of even digits. Ans   à REM CLS S: 0 INPUT “ENTER A NUMBER”;N WHILE N <> 0 R = N MOD 10 IF R MOD 2 = 0 THEN S = S + R N = N \10 WEND PRINT “SUM OF EVEN DIGITS IS ” ; S END 3.     Sum of odd digits. Ans   à REM CLS S: 0 INPUT “ENTER A NUMBER”;N WHILE N <> 0 R = N MOD 10 IF R MOD 2 = 1 THEN S = S + R N = N \10 WEND PRINT “SUM OF ODD DIGITS IS” ; S END 4.     Sum of square of digits. Ans   à             REM CLS S=0 INPUT “ENTER A NUMBER”; N WHILE N<>0 R= N MOD 10 S = S+R^2...