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

I = {1, 2} List all possible subsets of the given set.
A 1700 kg 2006 Mustang GT can accelerate from rest to 100 km/h in a time of 5.0 s.  Determine the net amount of work that must be done on the car to cause this
Given the inequalities y > 5x-8 and y >3x+4, find the point that satisfies neither inequalities
all fractions between 0 and 1/4
A construction contractor is purchasing granite tiles for a new kitchen floor. Each tile costs $5 and he wants to spend less than $1,500. The size of each tile
What is a Mandala Autobiography?
2(n-3)=4n+1 this sucks not knowing the answer
What do you mean by corrosion? How can you prevent it?
A storage tank shaped Like a rectangular prism is being manufactured to hold 100,000 cubic feet of natural gas. It has a length of 10 feet and a width of 25 fee
At the school carnival, Carmen sold 3 times as many hot dogs as Shawn. The two of them sold 152 hot dogs altogether. How many hot dogs did Carmen sell? 51382111