Answer to Question #217626 in C++ for machine

Question #217626

For m = 6 and n = 5, write a C++ code to accomplish the above


1
Expert's answer
2021-07-16T01:04:03-0400
/******************************************************************************
For m = 6 and n = 5, write a C++ code to accomplish the above


*******************************************************************************/


#include <iostream>


using namespace std;


int main()
{
    int m=6;
    int n=5;
    
    for(int i=0;i<m;i++){
        for(int j=0;j<n;j++){
            cout<<"*";
        }
        cout<<endl;
    }


    return 0;
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS