Toutes explications sur ce qu'on fait en écrivant ces lettres sont là :f Decimal floating point, lowercase 392.65
e Scientific notation (mantissa/exponent), lowercase 3.9265e+2
g Use the shortest representation: %e or %f 392.65
http://www.cplusplus.com/reference/cstdio/printf/
Si ça ne marche pas chez toi papy, essaye avec %.3g ou %.4g