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

Why is man a special creature? What two worlds does he share in?
3. Identify the adjective phrase in the sentence. What sort of food do crickets usually eat? (Points : 2) usually eat do crickets of
why do living things need nitrogen?
by hw much is the difference of 604 and 406.64 less than thier sum ?
Polished metals have a metallic luster, which means that?
What is 5,389.029 rounded to the nearest hundreth
how many valenceelectrons does rare earth metals have
Which of the following differs when comparing the deep ocean to the intertidal zone? •need for energy •salinity •the amount of sunlight •reliance on phytoplankt
how many thirds in 5
How many counting numbers are between 30 and 65, not including 30 and 65?