EasyManua.ls Logo

Sinclair QL - Page 73

Sinclair QL
422 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
1.
2.
3.
4.
5.
12/84
Place
ten
numbers
in
a
DATA
statement.
READ
each number and
If
it
is
greater
than 20 then print
It.
Test
all
the numbers from 1
to
100 and print only those which
are
perfect squares
or divisible
by
7
Toys
are described
as
Safe
(S),
or Unsafe
(U),
Expensive
(E)
or Cheap
(C),
and
either for
Girls
(G),
Boys
(B)
or Anyone
(A).
A tno of letters encodes the qualities
of each
toy.
Place
five
such trios
in
a
DATA
statement and then search
it
printing
only those which are
safe
and suitable for girls.
Modify program 3
to
print those which are expensive and not
safe.
Modify program 3
to
print those which are
safe,
not expensive and suitable for
anyone.
PROBLEMS
ON
CHAPTER
10
57

Other manuals for Sinclair QL

Related product manuals