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

49. Which of the following represents the correct sequence? A. Goals → Mission → Policy → Strategy B. Policy → Strategy → Mission → Goals C. Mi
Given the Arithmetic series A1+A2+A3+A4 A 1 + A 2 + A 3 + A 4 8 + 11 + 14 + 17 + . . . + 68 What is the value of sum?
What is life in newport news like for dorothy
ANSWER FAST AND I WILL PUT BRAINLIEST... Minnie graphs the temperature over a 24-hour period. Which type of graph should she use?
A race car has a centripetal acceleration of 18.75 m/s2 as it goes around a curve. If the curve is a circle with radius 12 m, what is the speed of the car?
write 5 pounds for $2.49 as a unit rate. round to the nearest hundreth
Mary can clean the house in 6 hours. Her younger sister Ruth can do the same job in 9 hours. In how many hours can they do the job if they work together?
when a factor is controlled by setting it to three levels, the particular factor is of no interest to the researcher. True or false and why? A. The statement is
What are the steps in the problem solving process?
what is the sum of all the even numbers from 20 to 70