This program shows how to input and output floating point numbers (doubles) using scanf and printf.
A more complex techniques of accomplishing IO is available via syscalls. For educational purposes it is valuable to learn the simple techniques first.
An effective assembly programmer knows how to employ library functions when such functions will simplify the source code.