` ``If (D≤10)(58≤T)(T≤101`

` ``:If D≤10 and 58≤T≤101`

must be written as

` ``:If D≤10 and 58≤T and T≤101`

to achieve the desired result. Otherwise, it is evaluated as

` ``:If D≤10 and (58≤T)≤101`

where (58≤T) is either 0 (false) or 1 (true), both of which are less than 101.

]]>- When using “Then” following an if, you must include an “End” to terminate the block

Example:

` ``If A Then Do this And this End If B Then Do this instead And this too End`

Otherwise it will be treated as a nested if statement

` ``If A Then Do this And this And If B Then Do this too`

ClrHome

Disp "Welcome to Paul's RDP"

Disp "Enter Depth"

Input "Depth",D

Disp "Enter Time"

Input "Time",T

If D≤10 and T≤57

Then

Disp "Your Repet Letter is 'A'"

If D≤10 and 58≤T≤101

Then

Disp "Your Repet Letter is 'B'"

first off theres going to be wayyyyyy more to it, but after this it will be repetitive. but to start, when running the first half I get an answer of line 9 and 12 at the same time(a and b). if I meet the conditions of the second half I don't get an answer. same goes if I change the complex part of part 2 to an "or" statement. im not all up on programming and such and this is all listed in a book that I usually forget at home but always have my calculator for other applications.

]]>