Hi,Think about the scanf 'C' function:a number beging with 0 is in OCTAL base :)so 016(octal) = 14(dec)....Olivierde_smet@lurpa.ens-cachan.fr