Answer:
#include <iostream>
using namespace std;
int main()
{
int num;
cin>>num;
cout<<num<<" "<<2*num<<" "<<num*num<<endl;
return 0;
}
Step-by-step explanation:
The code snippet above written in C++ programming language meets all the requirements of the question as specified in the instructors note.
Importantly is the use multiple C++'s cout (<<) operators to display all the output seperated by spaces on the same line.