Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

C++ Rectangular Form

    cout << "Input the number: ";
    cin >> x;

    cout << "
";
    cout << " " <<x<< " " <<x<< " " <<x<< " " <<x<< endl;
    cout << " " <<x<< "  " << "  " << " " <<x<< endl;
    cout << " " <<x<< "  " << "  " << " " <<x<< endl;
    cout << " " <<x<< "  " << "  " << " " <<x<< endl;
    cout << " " <<x<< "  " << "  " << " " <<x<< endl;
    cout << " " <<x<< " " <<x<< " " <<x<< " " <<x<< endl;
 
PREVIOUS NEXT
Tagged: #Rectangular #Form
ADD COMMENT
Topic
Name
1+6 =