0) " not work in Pascal, unlike "(a1>0) and (a2>0)"?" />
M
M
m1kz2019-11-24 01:09:05
Pascal
m1kz, 2019-11-24 01:09:05

Why does " ((a2 and a1)>0) " not work in Pascal, unlike "(a1>0) and (a2>0)"?

Why doesn't " ((a2 and a1)>0) " work in Pascal, unlike "(a1>0) and (a2>0)" ?
Source code:
Line 12: change the bracket comments and you'll understand
primat.org/index/0-128?AAw5mbbUiFiljrxrQuXbUacfPP3w
For example:
Input 3, 5 or 4, 4
Output 6 or 5

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
longclaps, 2019-11-24
@m1kz

We open what you have instead of a textbook, read the "data types" section and find out what data types are and what operations are applicable to them.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question