wap to find the given number is divisible by 3 and7 or not. cls input"enter any number";n if n mod 3=0 and n mod 7=0 then print "the number is divisible by 3 and 7" else print"the number is not divisible by 3 and 7" end if end wap to find he given number is positive or negative. cls input"enter any number";n if n>0 then print"the number is positive" else print"the number is negative" end if end wap to find the given number is odd or even cls input"enter any number";n if n mod 2=0 then print"the number is even" else print"the nmber is odd" end if end wap to find the smallest number among two. cls input"enter any two number";a,b if a<b then print"the smallest no is";a else print "the smallest no is";b end if end wap to find the number is divisible is divisible by 13 or not cls in...
Avg of 3 no Declare function avg(a,b,c) Cls Input"enter first number ";a Input"enter second number";b Input "enter third number";c Print"avg of three number=";avg(a,b,c) End Function avg(a,b,c) S=a+b+c Av = S/3 Avg=Av End function Total vowel number Declare sub count (N$) Cls Input "enter any word ";N$ Call count (N$) End Sub count (N$) C=0 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" Next I Print"total no of vowel=";C$ End sub Circle Declare sub area(R) Input "enter radius";R Call area(R) End I Sub area (R) A=22/7*R^2 Print "area of circle=";A End sub Area of 4 wall Declare sub area (l,b,h) Cls Input"enter length";l Input"enter breadth";I Input"enter height";h Call area (l,b,h) End Sub area (l,b,h)...
On 3rd bhadra students of grade 10 were taken to election commission to learn how to conduct election. Exactly on 9:45 we arrived at school. After arriving in school we get into the bus and went to election commision office. We all were so much excited to went in election commission office. In 10:15 we arrived in election commission office located in Jamal. After reaching there they teaches us many good things related about election. They divided us in two groups. One of section A and another of section B. Section A were taken to gaming room whereas section B were taken to visual room. In visual room we watch the visual and issues related to election. They were so friendly towards us. They all ask our noames. After finishing the visual. We section B were taken to gaming room. We enjoy a lot in gaming room.
Comments
Post a Comment