English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

here is the question:
A. write a BASIC program to find the area of 5,000 triangles with white background and blue characters given that the code for white is 7 and the code for blue is 1

B. identify the errors in the program below

cls
Rem program to find the area of a rectangle
print a
colour5,6
A=L*b
input 5,L,b,a
End.

after identifying the errors, re-write the program correctly
THANKS.

2007-01-04 05:05:28 · 1 answers · asked by rollyben 1 in Computers & Internet Programming & Design

1 answers

color(7,1)
for n=1 to 5000
input side,itsheight
area=side*itsheight*0,5
print "area="
print area
next

2007-01-04 05:59:09 · answer #1 · answered by iyiogrenci 6 · 0 0

fedest.com, questions and answers