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

how did Chinese philosophy during the tang and song dynasties impact korean society?
The acceleration of gravity on the moon is 1.6 m/s2 and on earth it is 9.80 m/s2 if the weight of a moon rock is 125n what is its weight on earth
On a map the distance from Springfield to pleasantville is 6 in. The map scale is 1/2 in. = 20 mi. Find the actual distance between Springfield and pleasantvill
According to Poe, "there is a radical error" in the ______.
Evaluate 7 (-4x2) for x = 0. 0 3 7 23
Somatization is associated with a. schizophrenia. b. depression. c. conversion disorder. d. paranoia.
what is the formula for the nth term of a geometric sequence with a4 = 16 and r =1/2 ?
What role do symbols play in a text? For what purpose do you think a poet uses symbols?
When your body burns calories more efficiently, you a. lose all your body fat. b. increase the amount of muscle mass and decrease the amount of body fat. c.
menos alto que A) La iguana es fea. La serpiente es muy fea. La serpiente es ________________ la iguana. e más alta que B) Julio es alto. Pablo es muy alto. Pa