1 solutions

  • 0
    @ 2023-9-30 13:44:04
    #include<iostream>
    using namespace std;
    char a;
    int main()
    {
    	cin>>a;
    	cout<<"  "<<a<<endl;
    	cout<<" ";
    	for(int i=0;i<3;i++)
    		cout<<a;
    	cout<<endl;
    	for(int i=0;i<5;i++)
    		cout<<a;
    	cout<<endl;
    	cout<<" ";
    	for(int i=0;i<3;i++)
    		cout<<a;
    	cout<<endl;
    	cout<<"  "<<a<<endl;
    	return 0;
    }
    
    • 1

    Information

    ID
    6722
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    4
    Tags
    (None)
    # Submissions
    256
    Accepted
    118
    Uploaded By