Friday, October 25, 2019

QBasic to dislpay 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

Thursday, October 24, 2019

QBasic to dislpay positive,Negative or Zero

CLS
INPUT"Enter any number";N
IF N=0 THEN
PRINT"Given number is positive"
ELSE IF N<0 THEN
PRINT"Given number is negative"
ELSE
PRINT"Given number is zero"
END IF
END

QBasic to find volume of cylinder

CLS
IMPUT"Enter radius";r
INPUT"Enter height";h
V=22/7*r^2*h
PRINT"Volume of cylinder=";V
END

QBasic to find volume of cube

CLS
INPUT"Enter length";L
V=L^3
PRINT"Volume of cube=";V
END

Monday, October 7, 2019

QBasic to find volume of box

CLS
INPUT"Enter length";L
INPUT"Enter breadth";B
INPUT"Enter height";H
V=L*B*H
PRINT"Volume of box";V
END

Sunday, October 6, 2019

QBasic to find area of 4 walls

CLS
INPUT"Enter length";L
INPUT"Enter breadth";B
INPUT"Enter height";H
A=2*H*(L+B)
PRINT"Area of 4 wall";A
END

QBasic to find area of square

CLS
TNPUT"Enter length";L
A=L^2
PRINT"Area of square";A
END

QBasic to find area of triangle

CLS
INPUT"Enter base";B
INPUT"Enter height";H
A=1/2*B*H
PRINT"Area of triangle";A
END

QBasic to find area of circle

CLS
INPUT"Enter  radius";R
C=22/7*R^2
PRINT"Area of circle".
END

QBasic to find area of rectangle

CLS
INPUT"Enter length";L
INPUT"Enter breadth";B
A=L*B
PRINT"Area of rectangle";A
ED

Monday, September 2, 2019

my father (2019)

                           My Father

One of the greatest titles in the world is parent, and one of the biggest blessings in the world is to have parents to call mother and father.And I am going to tell about my  father.His name is Birendra rana magar.
He is a pharmacist.He like helping people in need.He is very hard worker.He likes being healthy.He even go to morning walk at early 5 o'clock.He also suggest me to be healthy.He is the oldest one in my family after my grand mother.My father is my role model. He is the person who I wish to become like.He has all the qualities that I find are the ideal qualities in a person.My father is my teacher and my friend. He teaches me to do many interesting things.He is disciplined and punctual. He is always on time for his work.He expects me also to be that way. He is strict with me and wants me to be on time at school and punctual with my school work.My parents are my half heart.Half is my mother ad half father.I love them very much.

Radio wave

 Radio wave     is an electromagnetic wave of a frequency between about   10 4  and 10 11  or 10 12  Hz , as used for long distance communic...