+ 1
need help
How to write a program to print name in the center of the screen in c program?
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.