I need help to make this program
be output
*******E
*
**
***
**O****>
***
**
*
*******E
Thanks for helping

What have you tried so far?
Help is not free - especially the kind of help you are asking for.

#include<iostream>
using namespace std;
int main() {
    for(int i=1; i<2; i++){
        for (int j=1; j<=9; j++){

            if(((i==1) && ((j==1)) || ((i==1) && (j==9))){
                cout<<"*******E\n";}
            else if (((i==1) && (j==2)) || ((i==1) && (j==8))){
                cout<<"*\n";}
            else if (((i==1) && (j==3)) || ((i==1) && (j==7))){

                cout<<"**\n";}
            else if (((i==1) && (j==4)) || ((i==1) && (j==6))){
                cout<<"***\n";}
            else if ((i==1) && (j==5)){
                cout<<"**O****>\n";}

you could just use the easy way

cout << "*******E\n" << "*\n" << "**\n" << "***\n" << "**O****>\n" << ***\n" << 
"**\n" << *\n" << "*******E\n\n";
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.