Friday, October 4, 2019

Qbasic program to find the sum of digits.


Write a program to find the sum of digits.


CLS
INPUT "Enter any number"; N
S = 0
WHILE N <> 0
R = N MOD 10
S = S+ R
N = N \ 10
WEND
PRINT "Sum of digits"; S
END

Qbasic program to display positive, negative or zero.


Write a program to display positive, negative or zero.


CLS
INPUT "Enter any number"; N
IF N>0 THEN
PRINT "The number is positive"
ELSEIF N<0 THEN
PRINT "The number is negative"
ELSE
PRINT "The number is zero"
END IF
END

Qbasic program to find the volume of cylinder.


Write a program to find the volume of cylinder.


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

Qbasic program to find the volume of cube.


Write a program to find the volume of cube.

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

QBASIC PROGRAM TO FIND VOLUME OF BOX


Write a program to find the volume of box.


CLS
INPUT "Enter length"; l
INPUT "Enter height";h
INPUT "Enter breadth"; b
V = l * b * h
PRINT "Volume of box="; V
END

QBASIC PROGRAM TO FIND ARERA OF SQUARE


Write a program to find the area of square.


CLS
INPUT "Enter length "; l
A = l ^ 2
PRINT "Area of square="; A
END

QBASIC PROGRAM TO FIND AREA OF 4WALLS

Write a program to find the area of 4 walls.


CLS
INPUT "Enter height"; h
INPUT "Enter breadth";b
INPUT "Enter length"; l
A = 2 * h * ( l + b)
PRINT "Area of 4 walls= "; A
END

QBASIC PROGRAM TO FIND AREA OF TRIANGLE


Write a program to find the area of triangle.


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

QBASIC PROGRAM TO FIND AREA OF CIRCLE


Write a program to find the area of circle.


CLS
INPUT "Enter radius"; r
A= 22/7 * r ^ 2
PRINT "Area of circle= "; A
END

QBASIC PROGRAM TO FIND AREA OF RECTANGLE


Write a program to find the area of rectangle.


CLS
INPUT "Enter length";l
INPUT "Enter breadth";b
A =  l * b
PRINT "Area of rectangle=";A
END

Wednesday, September 4, 2019

MY FATHER

My father is an ideal person of my life. He is my real hero and my best friend ever. He always helps me a lot in my any difficulty.my father name is NIR BAHADUR GHALE. He is 40 year's old. he is an army. He is very famous person in his office as well as in the society because of his gentleness and politeness.
He is very intelligent man and always helps others in their problems. He is the boss of my family and gives advice and instruction to every family member. He solves problems of the neighbours. The person I admire ever in my life is only my lovely father. I still remember all my childhood memories with my father. He was the real reason of my happiness and joy. What I am is because of him as my mother was always busy in the kitchen and other household activities and it was my father who has joy with me and my sister. I understand he is very unique Dad in the world. I am feeling of being so lucky to have such father in my life. I always praise to god to give me such opportunity to take birth in the family with good father.
He is very polite and peaceful person. He scolded me and but takes my all mistakes very easily and makes me realize my all mistakes very politely. He helps each and every family member to take good decision in the bad time. He always shares his life drawbacks and achievements with me to let us know. He has his own business of online marketing but never force me to do go in the same field or attract me towards his own business instead he always promote to do what I want in my life. He is really a good dad not because he helps me but because of his knowledge, strength, helping nature and most importantly his way of handling people.
He always respects his parents means my grandparents and cares for them all time. I still remember that when I was little, my grandparents were generally talked to me about my father naughtiness in his childhood but they told me that your father is very good person in his life, be like him. It is my father who wants to see everyone happy in the family and always asks whenever anyone becomes sad and solves his/her problems. He loves and cares my mom and suggests her to take rest when she gets tired of doing all the household chores. My dad is my
inspiration.
My father was born in very poor family . My friends generally tell me so lucky of being the son of such father. I usually laugh on such type of comments and tell my father, he also laughs and says that what they are telling is not true but the truth is that I am so lucky to have son like you. He tells me that, my son always be what you want and always believe in you.

E-Commerce

E-Commerce (Electronic Commerce) E-Commerce or Electronic Commerce means buying and selling of goods, products, or services over the interne...