Assume that m is an int variable that has been given a value. Write a statement that prints it out in a print field of 10 positions.
LANGUAGE: C++
CHALLENGE:
Assume that m is an int variable that has been given a value. Write a statement that prints it out in a print field of 10 positions.
SOLUTION:
cout << setw(10) << m;