|
From: | Nicholas Jankowski |
Subject: | Re: Output format problem |
Date: | Mon, 20 Sep 2021 11:07:30 -0400 |
I want to print three items on a single line: an integer, a name, and a floating point value using the printf statement. Call them nn, name, and value. How do I write this command?
pct = 37; filename = "foo.txt"; printf ("Processed %d%% of '%s'.\nPlease be patient.\n", pct, filename);
[Prev in Thread] | Current Thread | [Next in Thread] |