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

List the factors that led the United States to realize an imperialist vision in the 1890s.
What are two ways that the Earth's atmosphere is important to life on Earth?
6/100 as a reduced fraction
All of the following were goals of the Tehran Conference EXCEPT which one? A. to plan the invasion of France B. to form plans for Europe after the war C. to dis
Which words in the sentence are the appositive phrase? Her favorite drinks, lemonade and iced tea, were available to the guests. a. Her favorite drinks b. were
is 0.4 less than, greatest than, or equal to 44%? explain
What are some possible advantages of having only two powerful political parties?
How are ex nihilo stories different from earth diver stories? a.) Ex nihilo stories explain the creation of Earth from nothingness, while earth diver stories ex
A good way to remember the definition of the word diligent is by picturing a person _____. A. at the beach B. working C. running D. sleeping
root word of enslaved