98.4k views
4 votes
PLEASE HELPPP!!! QBASIC WORK!

Write a program that asks a user to input length and breadth of a room in feet. This program displays message ‘Big room’ if the area of the room is more than or equal to 250 sq. ft otherwise it displays ‘Small room’.

User Zaur
by
5.4k points

1 Answer

6 votes

Answer:

INPUT "Input Length: ";LENGTH

INPUT "Input Width: ";WIDTH

AREA = WIDTH*LENGTH

IF AREA >= 250 THEN PRINT "Big room"

IF AREA < 250 THEN PRINT "Small room"

Step-by-step explanation:

User Seanoshea
by
5.8k points