برنامج لطباعة حرف E على الشاشة متكون من حرف x


 برنامج يظهر حرف E على الشاشة متكون من حرف x وذلك بتكراره.


#include <iostream>

using namespace std;
void main ( )
{
   cout << "xxxxxxxx" << endl;
   cout << "x" << endl;
   cout << "x" << endl;
   cout << "xxxxxxxx" << endl;
   cout << "x" << endl;
   cout << "x" << endl;
   cout << "xxxxxxxx" << endl;
   system("pause");
}

0 التعليقات: