+ 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);

6th Aug 2020, 6:01 AM
Joseph
4 ответов
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/
6th Aug 2020, 6:53 AM
Ipang
0
printf("%3.2f", 4.4289743); .2 is the correct answer
1st Oct 2021, 8:44 AM
Shilpa L
0
Int num1,num2 Scanf ("%d%d," &[] ,[] num2)-answer
28th Apr 2023, 11:11 AM
Raja Sekhar
Raja Sekhar - avatar
0
answer please
23rd May 2024, 2:13 AM
Undru Jyothi
Undru Jyothi - avatar