Home > Back-end >  Beginner, can't read the code, the great god give directions, thank you
Beginner, can't read the code, the great god give directions, thank you

Time:12-14

The # include & lt; iostream>
using namespace std;
Const int M=3, N=4;
Int main ()
{
Int I, j, s=0;
for(i=1; i<=M; I++)
for(j=1; j<=N; J++)
S +=I * j;
Cout<" S="& lt; return 0;
}

CodePudding user response:

The code running on the computer, the control code, see how the results, to understand what's the matter, for your reference:
 # include & lt; iostream> 
using namespace std;
Const int M=3, N=4;
Int main (int arg c, char * argv [])
{
Int I, j, s=0;
for(i=1; i<=M; I++)
for(j=1; j<=N; J++) {
S +=I * j;
Cout<" I="& lt; CodePudding user response:

Thank you very much, wait to go back to try immediately, this methodology to the