Help me in solving SYN4V2 problem

My issue

what i have to print in this ques

My code

#include <bits/stdc++.h>
using namespace std;

int main() {
    cout<<3<<"+"<<4<<endl;
    cout<<2<<"+"<<1<<".";
    return 0;
}

Learning course: Learn C++
Problem Link: CodeChef: Practical coding for everyone

@ajiteshtiwari1
Here, you need to print the final result of sum of (3+4) and (2+1), with calculations being done in print statement.

#include <bits/stdc++.h>
using namespace std;

int main() {
    cout<<3+4;
    cout<<2+1;
}

include <bits/stdc++.h>
using namespace std;

int main() {

cout << 3+4;
cout << 2+1;

}

you can use cout like this to print output in the same line without spaces