hi everyone ,,,
i have done this coding in C++, i want to change it from pseudocode to flow chart,,,
here is the coding:

int main(void)
{ int a, b, b2, a2, b3, b4;
{for (a=4; a>=1; a--)
{ for (b=1; b<=a; b++)
{ 
    cout<<a;
}
for (b2=1; b2<=a; b2++)
{
    cout<<"*";
    cout<<endl;
}
for (a2=2; a2<=4; a2++)
{ for (b3=1; b3<=a2; b3++)
{ 
    cout<<a2;
}
{ for (b4=1; b4<=a2; b4++)
{ 
    cout<<"*";
}
return 0;

Recommended Answers

All 2 Replies

First thing I don't see the purpose of this program as to what it does or is intended to do and apart from it this isn't a psuedocode,this is a C++ code itself other than some erroneous brackets which you can obviously correct by finding a matching pair of brackets for each bracket.

I honestly don't know what you've done here :S anyway, I don't think we can do flow charts on a forum o.O

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.