Module: (C++) Variables. Output formats


Problem

7/7

Training: output a real number

Problem

This is an optional task for those who want to learn more about the C output operator.
The program must output the value of the variable a with a sign and up to three decimal places.
Complete the program.