My issue
My code
#include <stdio.h>
int main() {
printf("Output:3+4\n");
printf("Output:2+1");
return 0;
}
Learning course: Learn C
Problem Link: CodeChef: Practical coding for everyone
#include <stdio.h>
int main() {
printf("Output:3+4\n");
printf("Output:2+1");
return 0;
}
Learning course: Learn C
Problem Link: CodeChef: Practical coding for everyone
In the problem statement, we need to print sum of given numbers, with the calculation being done in print statement itself.
Here is the code below for reference.
#include <stdio.h>
int main() {
printf("%d", 3 + 4 );
printf("%d", 2 + 1);
return 0;
}