Home > Back-end >  For help
For help

Time:02-28

I want to know why my output values are all these things, my homework is so several times

CodePudding user response:

Should be uninitialized variables?

CodePudding user response:

Suggestions and pasted the code, rather than send some pictures, can send code based on your code changes, send pictures nobody willing to knock according to the picture code,
Watched a roughly, the main function for two-dimensional array assignment in two loops of the statements are written wrong, both for statement behind the first row; Delete, because there are these two semicolon in, leading to an empty loop statement, the following assignment statements are not correct input values, making the elements in the array are random value

CodePudding user response:

reference 1st floor MianHou response:
should be uninitialized variables?

Emmm? Which variables are not initialized?

CodePudding user response:

reference 1st floor MianHou response:
should be uninitialized variables?

Then, could you tell me which variables are not initialized

CodePudding user response:

refer to the second floor CHXCHXKKK response:
advice and pasted the code, rather than send some pictures, can send code based on your code changes, send pictures nobody willing to knock according to the picture code,
Watched a roughly, the main function for two-dimensional array assignment in two loops of the statements are written wrong, both for statement behind the first row; Delete, because there are these two semicolon in, leading to an empty loop statement, the following assignment statements are not correct input values, making the elements in the array are random value

Next time pay attention to the form to send, thank you, I'll give it a try

CodePudding user response:

Post code ~ directly

CodePudding user response:

Behind the two for loop in the main function has two semicolons, what does this do? Is the cycle racing? Get rid of!
  • Related