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

what is the value of X
The Southern gothic movement borrowed gothic elements such as _____. Select all that apply. dark humor stream of consciousness descriptions local color twi
if tan theta = 11/60, what is the value of cot theta? 1/60 1/11 60/11 61/11
Find the volume of the composite figure.
Which way does equilibrium shift
After a fetus has developed for only three months, what is the skeleton made of? A. Muscle B. Bone C. Cartlage D. Tendon (I think it's A)
The following question refers to “The Medicine Bag.” How do Cheryl’s and Martin’s reactions to Grandpa’s arrival differ? Cheryl is embarrassed, and Martin is
how long did it take women to win the right to vote, from women's earliest efforts toward that goal to the ratification of the 19th Amendment to the Constitutio
In a one- to two-paragraph response, explain how the Nazis and the Khmer Rouge each rose to power.
Kevin is 39 years old and Daniel is 3 years old. How many years will it take until kevin is only 4 times as old as Daniel?