How can I use printf command at C so that it appears only a specific number of digits or characters?
I have to write a program which "reads" a character string, an integer and a floating-point number. Then using the printf() command it must appear at least 3 but no more than 7 characters or digits for each input. How can this be accomplished?
Aucun commentaire:
Enregistrer un commentaire