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 can astronomers use rocks from the moon to estimate the age of the solar system ?
determine the most precise name of the quadrilateral ABCD from the information given. for #13 & #14
what is a vortex? need some help
7 facts about water of southwest region
Why is living important
how are airplanes artificially pressurized?
How many different ways can you group a red apple, a green apple, a tomato, and a banana? (For example , I'll place apples in one group, and non-apples in anoth
Someone please help me : evaluate 3st to the second power + 2s if s=5 and t=3??
1. What are the next three terms in the sequence?-1 ,9 ,19 ,29 . . .A. 38, 37, 32B. 40, 51, 62C. 39, 49 , 59D. 38, 47, 562. What are the next three terms of the
If y^8 = 4 and y^7 = 3/x, what is the value of y in terms of x? (A) 4x/3 (B) 3x/4 (C) 4/x (D) x/4 (E) 12/x