+ 4
Fill in the blanks to format the output and print 4.42.
In the question I copied and pasted down there, but how are we supposed to come up with that answer w/ the information given in previous explanation? I found the answer. '2', but how are we supposed to just come up with that number from the information given and applying that information to the question? The answer was found by just looking at the given code in the try me, but I don't see any application of understanding here. I've been a little bit confused when taking the C course here, as it seems like there is a lot of information that we are assumed to already know it seems. Am I missing something here? Fill in the blanks to format the output and print 4.42. printf("%3. f", 4.4289743);
4 odpowiedzi
0
For more detailed information about I/O format specifiers, refer the following pages 👇
http://www.cplusplus.com/reference/cstdio/scanf/
http://www.cplusplus.com/reference/cstdio/printf/
0
printf("%3.2f", 4.4289743);
.2 is the correct answer
0
Int num1,num2
Scanf ("%d%d," &[] ,[] num2)-answer
0
answer please