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

Copyright law is settled and does not change. t f
Which number indicates the number of atoms of each element in a molecule of a substance?
Commission of sales on office equipment is paid at the rate of 12%. last week $2860 worth of office equipment was sold.
A(n) ___________________ omniscient narrator makes no judgments or evaluations.
the state fish of hawaii is the humuhumunukunukuapua'a.. did anyone know this?
What category do crinoids belong in?
The volume is 22.5ml and the wight is 306.0ml what is the density
was the bell telephone company monopoly
Isaac brought three packages of nuts. He bought one package of peanuts that weighed 3.07 pounds. He also brought two packages of pecans that weighed 1.46 pound
______ bands of precipitation are usually found along cold fronts, while ______ bands of precipitation are usually found ahead of warm fronts.