on
TCL
- Get link
- X
- Other Apps
#!/usr/bin/tclsh
puts "Enter a String: "
gets stdin str
set reverse_str [ string reverse $str]
puts "Reverse of $str is $reverse_str"
Enter a String:
eeniarT
Reverse of eeniarT is Trainee
Enter a String:
rats
Reverse of rats is star
Comments
Post a Comment