Skip to main content

PROGRAMMING 2

WAP TO PRINT ONLY CHARACTERS 'a' AND 'b' FROM SUPPLIED STRING

CLS
INPUT"ENTER ANY WORD";A$
FOR I = 1 TO LEN(A$)
B$=MID$(A$,I,1)
C$=UCASE$(B$)
IF C$="A" OR C$="B" THEN PRINT B$
NEXT I
END

Comments

Popular posts from this blog

A VISIT TO CHHAUNI MUSEUM

A VISIT TO CHHAUNI MUSEUM Introduction of Chhauni Museum The National Museum of Nepal  ( Rashtriya Sangrahalaya ) is a popular attraction of the capital city of  Kathmandu . About a century old, the museum stands as a tourist destination and historical symbol for Nepal. Being the largest museum of the country of  Nepal , it plays an important role in nationwide archaeological works and development of museums. For the residents of  Kathmandu , the monument serves to relive the battles fought on the grounds of  Nepal . The main attractions are collection of historical artworks (sculpture and paintings) and a historical display of weapons used in the wars in the 18-19th century. The museum has separate galleries dedicated to statues, paintings, murals, coins and weapons. It has three buildings — Juddha Jayatia Kala Shala, Buddha Art Gallery and the main building which consists of natural historical section (collection of species of animals, butterflies and p...

Travel Diaries

Day 1(KATHMANDU TO GORKHA & BANDIRPUR) “ Broad, wholesome, charitable views  of men and things cannot be acquired by vegetating in one little corner of the earth all of one’s lifetime.” Every once and a while, we as an individual try & spare some time from our busy lives & let go of that wanderlust. Considering this point, we 9 th graders of Jagat Mandir Higher Secondary School would like to kindly share our small yet adventurous experiences which still hold our breaths & hold us captivated ever since 26 th Mangsir 2074(Wednesday). Early in the dawn maybe at 6:30 am we students gathered together at our school’s ground with stuffed bags & hearts full of doubts & suspense. Neither of us knew how this journey of ours will turn out but little did we knew that we would find ourselves in a different place with different attitude. After having our breakfast, at 8:30 am we rushed towards the bus capturing ours seats & 5-hours-long bus travel start...

School, place where you learn to love, laugh & live

11 years ago when I first stood in front of the gate of Jagat Mandir School, I was new to the school, the classes, teachers & classmates. As the time started to flow, I slowly became close my classmates, my seniors, my juniors & teachers with whom I created millions of small little memories which are still with me.  Now as I look back in time to 11 years of my life growing from a small, innocent & immature 5 year old kid to a young, independent & reckless 16 year old girl, I see myself going through lots of ups & downs, learning from my mistakes & living my life without any stress, care freely. It feels like a dream to find myself outside JM, at home sitting in front my desktop writing this blog about my experience at JM, remembering the memories of past 11 years. Speaking about my experience, I found JM to be more like home where you are loved but also scolded for your mistakes, a place every teenager would look for. School, a place you don’t f...