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

Which animal could a bulldog mate with to produce offspring? A. sheepdog B. beaver C. raccoon D. tabby cat
Power that comes from atoms is called ________? steam power coal power electric power nuclear power
There are 34 adults and children13 on tour how much money will the group save by visiting the main deck of the observation tower instead of the top deck explain
How to write 1.35 as a fraction in lowest form
Benjamin is making bow ties . How many 1/2 yard-long bow ties can he make if he has 18 feet of fabric!
What is true about the sum of the measures of any two non-right angles in a right triangle?
5\7m-2-6\7m=-13 what is the answer
Which statement describes a reason the United States entered World War I on the Allied side? A.Germany's invasion of Canada posed a direct threat to the United
Jill purchased fruit juice boxes for a party . She purchased 1 case of 44 boxes and several packs containing 4 boxes each.Let p represent the number of 4-box pa
what happens at a hot spot?