Home > Back-end >  Questions about the loop input end
Questions about the loop input end

Time:09-20

for(int i=0; i<5; I++)
for(int j=0; J<5; J++)
cin> A [I] [j]
How can I end the input

CodePudding user response:

What is your end input conditions? Set a condition, will break cycle can meet the conditions,

CodePudding user response:

5 * 5 enough input data is over
  • Related