Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
14
Task/Integer-comparison/BCPL/integer-comparison.bcpl
Normal file
14
Task/Integer-comparison/BCPL/integer-comparison.bcpl
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
get "libhdr"
|
||||
|
||||
let start() be
|
||||
$( let a = ? and b = ?
|
||||
writes("A? ") ; a := readn()
|
||||
writes("B? ") ; b := readn()
|
||||
|
||||
writes(
|
||||
a < b -> "A is less than B*N",
|
||||
a = b -> "A is equal to B*N",
|
||||
a > b -> "A is greater than B*N",
|
||||
"Huh?!"
|
||||
)
|
||||
$)
|
||||
Loading…
Add table
Add a link
Reference in a new issue