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

Suppose you ride your bicycle to the library traveling at 0.5 km/min. It takes you 25 minutes to get to 1.3 the library. How far did you travel?
Which of the allies suffered the greatest losses on D-Day
Why were people from Africa brought to Georgia?
Why were people from Africa brought to Georgia?
3x+y=4 2x+y=5 solve using linear combination
what is the kingdom and phylum of a euglena protest?
The significance of the Open Door Policy for the United States lay in its (A) providing a use for the Philippines as a way station between China and the United
China, Korea, and Japan share cultural similarities in part due to their (1) clashes with Russian imperialists (2) shared river systems (3) contacts through tra
which explorer sailed for france?
which explorer sailed for france?