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

Due to its great size, china is a land of what
What did the acquisition of territory in 1803 between the United States and France become known as?
China was easily defeated by the British in the first Opium War because?
a teacher wants to give 3 markers to each of her 25 students. Markers come in packeges of 8 how many packages of markers will the teacher need
Taxonomy seeks to _____. identify all living things identify all nonliving things organize all living things in a logical manner organize all nonliving things i
There are 32 female performers in a dance recital. The ratio of men to women is 3:8. How many men are in the dance recital?
A certain vehicle can travel 483 miles on 14 gallons of gasoline. Determine how many gallons of gasoline this vehicle will need to travel 600 miles. Round to th
Which of the following statements about Truman's fair deal is true ?
what is 350 over 100 in simplest form
What is the density of the marble when the mass = 10g