CLS
INPUT "Enter Length"; L
V = L ^ 3
PRINT "Volume of cube=";V
END
Wednesday, October 2, 2019
Qbasic to find volume of box
CLS
INPUT "Enter the length"; L
INPUT "Enter the breadth": B
INPUT "Enter the height"; H
V = L*B*H
PRINT "Volume of box="; V
END
INPUT "Enter the length"; L
INPUT "Enter the breadth": B
INPUT "Enter the height"; H
V = L*B*H
PRINT "Volume of box="; V
END
Qbasic to find Area of four walls
CLS
INPUT "Enter the length"; L
INPUT "Enter the breadth"; B
INPUT "Enter the height"; H
A = 2*H*(L+B)
PRINT "Area of four walls="; A
END
INPUT "Enter the length"; L
INPUT "Enter the breadth"; B
INPUT "Enter the height"; H
A = 2*H*(L+B)
PRINT "Area of four walls="; 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
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 the radius"; R
A = 22/7*R^2
PRINT "Area of circle="; A
End
INPUT "Enter the radius"; R
A = 22/7*R^2
PRINT "Area of circle="; A
End
Qbasic to find Area of Rectangle
CLS
INPUT "Enter the length"; L
INPUT "Enter the breadth"; B
A = L*B
PRINT "Area of rectangle="; A
END
INPUT "Enter the length"; L
INPUT "Enter the breadth"; B
A = L*B
PRINT "Area of rectangle="; A
END
Subscribe to:
Posts (Atom)
Digital Footprint
Computer technology is a technology that instead of building a physical machine for each application builds a logical or virtual machine. ...
-
Firstly when I heard that we are going tour to Dhading for 2 days I was so much excited to go there. The day when I got notice after reachin...
-
Computer technology is a technology that instead of building a physical machine for each application builds a logical or virtual machine. ...
-
"Take only memories, leave only footprints " The excitement knocked the door of grade 9 students when they were told about the...