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

Which statement best describes the caste system? a. social and religious classes developed after Aryans settled on the Ganges plain and later incorporated into
924 divided by 6. Help please, thank you
Which is an example of a mixture
A number increased by four is the same as 19 minus 2 times the number
what is the new credit card balance if the unpaid balnce is $1,000 at 1.3% monthly interest?
how many neutrons are in an atom
How did World War I change the balance of economic power in the world?
Beyond abolishing slavery in the United States, the Civil War was a pivotal event in American history because it
During the 1500s, the Roman Inquisition created a German and an English translation of the Bible. a list of criticisms of the Roman Catholic Church. a list of b
A zebra cell is just about to replicate its DNA. Which of the following will happen first? The DNA folds over on itself to create a dense chromosome. RNA attach