+ 1

need help

How to write a program to print name in the center of the screen in c program?

15th May 2020, 5:53 PM
CpC-warrior
CpC-warrior - avatar
3 Answers
+ 1
#include <iostream> #include <iostream> // std::cout, std::endl #include <iomanip> // std::setw using namespace std; int main() { /*cout << "AMNA" << endl; */ cout << setw(50) << "AMNA"; return 0; } here's that I code.
17th May 2020, 11:09 AM
CpC-warrior
CpC-warrior - avatar