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

Write an equation of the graph: #1 y = |x| translated two units downward #2 y = |x| translated two units to the left #3 y = |x| translated two units upw
Find the length of a segment with an endpoint of (-3, 1) and a midpoint of (8, 2)
Read this passage from "Marie Curie and the Discovery of Radioactivity": In the winter, it was so cold that she emptied her closet, piling the clothes on he
Explain three ways that studying seismic waves can help scientists learn about Earth's interior. Enter your answer in the space provided.
What is the absolute value of -23
The conflict in mexico died down when a greater conflict was imminent. what was that conflict
What do scientists call an orderly pattern of change over time? A. homeostasis B. ecological succession C. food web D. an ecosystem
which best explains why Constantinople didn't fall until 1453?a. The city was well protected and repelled attacks by Invadersb. The City created alliances with
The most Brendan can afford to pay per year in mortgage payments is $10,500, and his credit score is currently 544.
Oxygen constantly diffuse from air water into an animal blood stream