1 solutions

  • 0
    @ 2025-11-5 15:27:43

    C++ :

    #include<iostream>
    using namespace std;
    int main()
    {
    	cout<<"*****"<<endl;
    	cout<<" *** "<<endl;
    	cout<<"  *  "<<endl;
    	cout<<" *** "<<endl;
    	cout<<"*****"<<endl;
    	return 0;
    }
    

    Pascal :

    begin
    writeln('*****');
    writeln(' *** ');
    writeln('  *  ');
    writeln(' *** ');
    writeln('*****');
    end.
    
    • 1

    Information

    ID
    16818
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    (None)
    Tags
    # Submissions
    0
    Accepted
    0
    Uploaded By