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

Lee y elige. Complete the following paragraph using the options given. Each word can only be used once. Puerto Rico es una [Choose ] Puerto Rico está entre el m
Given: tangent A = negative StartRoot 15 EndRoot What is the value of Tangent (A minus StartFraction pi over 4 EndFraction)?
WILL MARK BRAINLIST URGENT PLEASE HELP TIMED QUIZ1) What role does the Lieutenant Governor play in state government?The role of the Lieutenant Governor in state
What is general information related to the topic?
10. A toy car travels 63 m during 5.1 s at a constant speed. What is the speed of the toy car? Round your answer to the nearest thousandth, if necessary, Speed
Raheem bought stock in a tech company that had just announced a dividend. He did not receive the dividend even though the record date had not yet passed when he
Does anybody need help with Shakespeare questions? I can help :)
Find the distance between the following points (1 , 6) and (13 , -3)
For a summer reading program, you are asked to read 3 books from a list of 8 book. how many different groups of 3 books can you read?​
Does anyone know how to solve this (4-7i) - (-3+6i) ?