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

when gravity causes a huge amounts of rock or soil to be carried down a slope this form of erosion is referred to as a
how many rectangular prism can you make out of 20 snap of cubes
THE EXPRESSION COT THETA/CSC THETA IS EQUAL TO?
mike constructed a closed box that measures 2.5 feet long by 3 feet wide by 1.5 feet high. what is the total area of the material mike needs to construct the bo
in what way is a gene pool representative of a population
true or false a trapezoid is a polygon, so all polygons are trapezoid. explain.
Factor the polynomial 6b^2-17b+10
Can you give me the order of Biomes from coldest to hottest please?-tundra-taiga-temperate deciduous forest-temperate grassland-temperate woodland (chaparral)-d
The skeletal system does all of the following EXCEPT (A) support. (B) transport. (C) protect. (D) digest. (E) store.
Three individuals form a partnership and agree too divide the profits equally. X invest -9,000 , Y invest 7,000, Z invest 4,000. How much less does X receive if