aaravpeswani aaravpeswani
  • 06-01-2021
  • Computers and Technology
contestada

Write an algorithm to get the value of length and breadth of a rectangle from the user and find its area. inn qbasic

Respuesta :

sin270
sin270 sin270
  • 06-01-2021

Answer:

IN PYTHON ::

x=int(input('Enter length:'))

y=int(input('Enter width:'))

print('Area of the rectangle is', x*y,'squared units')

I hope it will be useful.

Answer Link

Otras preguntas

A 10.0-gram sample of which element has the smallest volume at STP? (1) aluminum (3) titanium (2) magnesium (4) zinc
8. A 740 kg car traveling 19 m/s comes to a complete stop in 2.0 s. What is the force exerted on the car during this stop?
Alice travels 3 times faster than Brenda. Traveling in opposite directions, they are 720 miles apart after 7.5 hours. Find their rates of travel.
which is bigger 3/7 or 2/5
Which area became part of the Islamic Empire by the eighth century? A. Greece B. France C. Italy D. Spain
two questions that i am stuck on for my biology review are... 1.) all cells are able to continue living because of their ability to...? a. produce food
is 74.3 greater or less than 7.43
what is the purpose of the federal deposit insurance corporation? a. to keep banks on the gold standard b. to protect depositors from the loss c. to charter sta
Which governmental body did Napoleon Bonaparte overthrow in 1794 after Robespierre's execution? A. National Assembly B. Third Estate C. the Directory D. Nationa
An atom of which element has the greatest attraction for the electrons in a bond with a hydrogen atom? (1) chlorine (3) silicon (2) phosphorus (4) sulfur