Answers for "c++ formatting"

C++
0

c++ formatting

cout << setw(10) << "ten" << "four" << "four" << '\n';
// Display ten       fourfour

cout << setfill('-') << setw(80) << "-" << '\n';
// Displays 80 "-"
Posted by: Guest on March-09-2020

Browse Popular Code Answers by Language