[EMAIL PROTECTED] said:
> a je kaka šansa, da se ta 5 nadomesti z variablo ali pa obstaja kakšna
> druga varianta za tak izpis?
A field width or precision may be indicated by an asterisk
(*) instead of a digit string. In this case, an integer args
supplies the field width or precision. The args that is
actually converted is not fetched until the conversion
letter is seen, so the args specifying field width or preci-
sion must appear before the args (if any) to be converted.
Torej
printf("%.*f\n",n,rezultat);