RosettaCodeData/Task/A+B/Tcl/a+b-3.tcl
2023-07-01 13:44:08 -04: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