RosettaCodeData/Task/A+B/Tcl/a+b-3.tcl
2013-04-10 14:58:50 -07:00

6 lines
132 B
Tcl

set in [open "input.txt"]
set out [open "output.txt" w]
scan [gets $in] "%d %d" x y
puts $out [expr {$x + $y}]
close $in
close $out