Answer:
The statement to this question can be given as:
Statement:
cin >> x1 >> x2 >> x3 >> x4 >> x5;
cout<<right;
cout << setw(5) << x1 << "\\" << setw(5) << x2 << "\\" << setw(5) << x3 << "\\" << setw(5) << x4 << "\\" << setw(5) << x5 << "\\";
Explanation:
In the question, it is given that there is 5 integer variable that is x1, x2, x3, x4, and x5. In the above statement, we print the value of the integer variable and the right-justified column with a 5-digit width. In this statement first, we insert the value of the variables then we print the value in 5-digit width within its own line.