Add tasks for all the new languages
This commit is contained in:
parent
9dc3c2bb62
commit
bba7bfd280
13208 changed files with 134745 additions and 0 deletions
12
Task/Integer-comparison/Phix/integer-comparison.phix
Normal file
12
Task/Integer-comparison/Phix/integer-comparison.phix
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
atom a = prompt_number("first number:",{}),
|
||||
b = prompt_number("second number:",{})
|
||||
|
||||
printf(1,"%g is ",a)
|
||||
if a < b then
|
||||
puts(1,"less than")
|
||||
elsif a = b then
|
||||
puts(1,"equal to")
|
||||
elsif a > b then
|
||||
puts(1,"greater than")
|
||||
end if
|
||||
printf(1," %g",b)
|
||||
Loading…
Add table
Add a link
Reference in a new issue