Home  |  IT Zone  |  Tips / Tricks  |  Did You Know  |  Inspirational  |  Health  |  World Infos  |  Insurance  |  Universities  |  Forex  |  Mathematics  |  Illusions  |  Children Day Quotes  |  Fun / Jokes  |  Decent Quotes  |  Birthday Msgs  |  Good Morning Msgs  |  Good Night Msg  |  Husband Wife Jokes  |  Teacher Students Jokes  |  Insult Jokes  |  Love Quotes  |  Sad Quotes  |  Funny Pics  |  Be Aware  |  Articles  |  Simple Joys of Life 

A program to find the volume and area of a box. (Qbasic Code)

A program to find the volume and area of a box. (Qbasic Code)
CLS
INPUT "Enter the length of the box"; l
INPUT "Enter the breadth of the box"; b
INPUT "Enter the height of the box"; h
v = l * b * h
a = 2 * (l * b + b * h + h * l)
PRINT "The volume of the box is"; v
PRINT "The area of the box is"; a
END

Share :

Twitter
Back To Top

facebook main

Powered by Blogger.