Q Basic programs
* WAP TO FIND THE AREA OF FOUR WALLS.
CLS
INPUT"enter length";l
INPUT"enter breadth";b
INPUT"enter height";h
A=2*h*(l+b)
PRINT " area of four walls =";a
END
CLS
INPUT"enter length";l
INPUT"enter breadth";b
INPUT"enter height";h
A=2*h*(l+b)
PRINT " area of four walls =";a
END
Comments
Post a Comment