It has 8 rows and 8 columns.
----------------------- | | | | | | | | | | | | | ----------------------- | | | | | | | | | | | | | ----------------------- | | | | | | | | | | | | | ----------------------- | | | | | | | | | | | | ----------------------- | | | | | | | | | | | | | ----------------------- | | | | | | | | | | | | | ----------------------- | | | | | | | | | | | | | ----------------------- | | | | | | | | | | | |This is the code i have been trying to use in printing it out
cout<<"8 rows and 8 columns"<<endl;
for (int cntr =8 rows; cntr=cntr++)endl;
{
cout<<cntr<<"-";
if (cntr % 8==)
give me an example of the right code to use....please, if you can .

New Topic/Question
Reply




MultiQuote






|