int main() { int a[9] = {1,2,3,4,5,6,7,8,9}; int b[9] = {1,2,3,4,5,6,7,8,9}; for(int i = 0;i < 9;i++int main(){int a[9] = {1,2,3,4,5,6,7,8,9};int b[9] = {1,2,3,4,5,6,7,8,9};for(int i = 0;i < 9;i++)for(int j = 0;j < 9;j++){if(a[i] == b[j]){cout
来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/26 08:27:21
int main() { int a[9] = {1,2,3,4,5,6,7,8,9}; int b[9] = {1,2,3,4,5,6,7,8,9}; for(int i = 0;i < 9;i++int main(){int a[9] = {1,2,3,4,5,6,7,8,9};int b[9] = {1,2,3,4,5,6,7,8,9};for(int i = 0;i < 9;i++)for(int j = 0;j < 9;j++){if(a[i] == b[j]){cout
int main() { int a[9] = {1,2,3,4,5,6,7,8,9}; int b[9] = {1,2,3,4,5,6,7,8,9}; for(int i = 0;i < 9;i++
int main()
{
int a[9] = {1,2,3,4,5,6,7,8,9};
int b[9] = {1,2,3,4,5,6,7,8,9};
for(int i = 0;i < 9;i++)
for(int j = 0;j < 9;j++)
{
if(a[i] == b[j])
{
cout
int main() { int a[9] = {1,2,3,4,5,6,7,8,9}; int b[9] = {1,2,3,4,5,6,7,8,9}; for(int i = 0;i < 9;i++int main(){int a[9] = {1,2,3,4,5,6,7,8,9};int b[9] = {1,2,3,4,5,6,7,8,9};for(int i = 0;i < 9;i++)for(int j = 0;j < 9;j++){if(a[i] == b[j]){cout
? 什么跳不出?
如下修改可以跳出
#include
using namespace std;
int main()
{
int a[9] = {1,2,3,4,5,6,7,8,9};
int b[9] = {1,2,3,4,5,6,7,8,9};
for(int i = 0;i < 9;i++){
int j;
for(j = 0;j < 9;j++)
{
if(a[i] == b[j])
{
cout