Binisha
Binisha Binisha
  • 02-12-2020
  • Computers and Technology
contestada

write a QBASIC program to input two sides of a rectangle from the user and print its area and perimeter [Area = L×B, Perimeter =2 (L+B)]​

Respuesta :

siddanjanPokhrel
siddanjanPokhrel siddanjanPokhrel
  • 02-12-2020

Answer:

CLS

INPUT"ENTER THE LENGTH";L

INPUT"ENTER THE BREADTH";B

AREA=L*B;A

PERIMETER=2(L+B);P

PRINT"THE AREA IS =";A

PRINT"THE PERIMETER IS =";P

END

Answer Link

Otras preguntas

For which team is distance proportional to time? explain your reasoning.
The temperature on a Christmas morning was -7 degrees celsius. Three hours later the temperature dropped 5 degrees. Then by noon, the temperature rose 9 degrees
How many Children attended the classroom if there were 11 girls who made up 44% of the children?
The Allied Taxi Company charges $2.50 to pick up a passenger and then adds $1.95 per mile. Isaac was charged $27.46 to go from one city to another. If x represe
Solve for x. 5(x+1)≤5x+3 no solution all real numbers x≤1 x≤7
tim left a 9 dollar tip for a 50 resturant bill what percent tip did he leave
can someone PLEASE help me with this
Page 127 "And there on the small screen was the burnt house, and the crowd and something with a sheet over it and out of the sky, fluttering, came the helicopte
The area of an equilateral triangle with side 4 cm.
You have developed a promising anti-cancer agent, but it has poor solubility in water. Which of the following changes should improve water solubility? A. addi