Jump to content

Integer comparison: Difference between revisions

add bqn
(add fermat)
(add bqn)
Line 735:
v "<" _v#<
@,+55,," B",,,"A " < "=" <</lang>
 
=={{header|BQN}}==
The function <code>Comp</code> compares two integers and returns the appropriate string result.
 
<lang bqn> Comp ← ⊑·/⟜"Greater than"‿"Equal To"‿"Lesser Than"(>∾=∾<)
⊑(/⟜⟨ "Greater than" "Equal To" "Lesser Than" ⟩>∾=∾<)
4 Comp 5
"Lesser Than"
5 Comp 5
"Equal To"
6 Comp 5
"Greater than"</lang>
 
 
=={{header|Bracmat}}==
236

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.