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

The magistrate calls Meursault “Monsieur Antichrist” because _____. Meursault believes that he is God Meursault does not believe in God Meursault believes that
why did henry viii seperate from catholism
The movement of air from a high-pressure area to a low-pressure area causes_________. A) wind B) rises C) heavier D) barometer E) high F) low G) air pressure
critism of balanced and unbalanced growth​
Identify and describe how graphs and Charts could play a role in your life, community current and future career
How did the reformation encourage ideas of democracy
Read the excerpt from The Call of the Wild. [Buck] sat by John Thornton’s fire, a broad-breasted dog, white-fanged and long-furred; but behind him were the shad
IQ scores are measured with a test designed so that the mean is 120 and the standard deviation is 12. Consider the group of IQ scores that are unusual. What are
PLEASE HELP!!!!!!!!!!! What is x A: 35 2:135 3: 45 4:55
Jared bought one share of stock for $225. A. He sold the stock for a profit of $55. what was the selling price of the stock? B. The price of the stock dropped