the spacing placed before two iterations of the cut statement is displayed via a recursive function

Call this method from Waswritten

void writeSpaces(int spaceCount){
    for(int i=0;i<spaceCount;i++){
        cout<<" ";
    }   
}

before each cout

writeSpaces(count);

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top