0
How to solve this problem
Fill in the blanks to calculate the sum of the variables a and b store it in the sum variable, then output it. int a = 8; int b = 56; int sum = a+b; printf("%d sum🔳 ; What should be write in 🔳
5 odpowiedzi
0
Could this be the answer: ¯\_(ツ)_/¯
printf("%d", sum);
0
This answer is actually right but in Sololearn c language quiz doesn't accept that it's right.
I am stopped
0
I am assuming you made an error when you copied in the problem. The printtf statement cannot be fixed by only providing a value in the box.
The printf statement should look like this:
printf("%d", sum);
There's a double quote and comma before "sum". Then the blank would only require a closing ).
If you did copy that code precisely, then the solution would have to be:
printf("%d sum", sum);
You would have to supply: ", sum)
That seems unlikely considering how SoloLearn typically formats their questions.
0
)
Close the argument
0
64