1 solutions

  • 0
    @ 2025-11-5 15:39:14

    C++ :

    #include<bits/stdc++.h>
    using namespace std;
    int main()
    {
    	cout<<"    *"<<endl;
    	cout<<"   ***"<<endl;
    	cout<<"  *****"<<endl;
    	cout<<" *******"<<endl;
    	cout<<"*********"<<endl;
    	cout<<"   ***"<<endl;
    	cout<<"   ***"<<endl;
    	cout<<"   ***"<<endl;
    	cout<<"   ***"<<endl;
    	return 0;
    }
    

    Pascal :

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

    Information

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