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

multiple choice. Close reading is a strategy that is meant to be practiced __________. A)at the end of a project. B)several times C)one time D)with a partner I
64 fl oz = ? cups (64 fl oz is equal to how many cups?) (and explain your answer)
Which European country gained control of the Suez Canal, even though it did not finance or participate in its construction? A. Netherlands B. Belgium C. Germany
9 divided by 841 remainder form?
CAN ANYONE PLEASE HELP!!!!! How has Greek culture influenced American culture???WRITE 3 REASONS HOW.
Explain why chemical weathering occurs faster in hot, wet climates than in cool, dry climates.
Writing to explain if 5 potatoes together have a mass of 1 kilogram and 8 pears together have a mass of 1,200 grams, which has the great mass , a potato or a pe
Which statement about Mecca is accurate? Islamic law is decided in Mecca. Mecca was the city where Allah lived. Only Islamic followers ever traveled to Mecca. M
why does it takes 3 copies of 1/6 to show the same amount as 1copy of 1 / 2
How do you divide 25kg in a ratio of 2:3:5