解决这个问题! java中的矩阵问题 [英] Solve this problem! Matrix problem in java

查看:167
本文介绍了解决这个问题! java中的矩阵问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你得到这个矩阵:



You are given this matrix:

X X X X X 
X O O O X
X O O O X
X O O O X
X X X X X
X O O O O
X X O O O
X X X O O
X X X X O
X X X X X





它必须以主方法执行,我在考试中有这个问题,我想学习它!



我尝试过:



我不知道如何尝试解决这个矩阵,只是编写一个显示所有这些的代码,它必须在main方法中执行。



It has to be executed just in main method, i had this question in my exam and i want to learn it!

What I have tried:

I dont know how to try to solve this matrix, just to write a code that displays all of that and it has to be executed in main method.

推荐答案

我们不做其他人的功课。如果您遇到问题,您需要向您的教授/老师寻求帮助以了解您的家庭作业。



如果您真的想学习,您可以使用谷歌搜索如何在java中显示矩阵并从那里开始阅读和研究。
We don't do other peoples homework. You need to ask your professor/teacher for help understanding your homework if you are having issues.

If you truly wish to learn, you would use google and search for "How to display a matrix in java" and go about reading and researching from there.


Quote:

解决这个问题!



不!你解决了它,这是你的HomeWork。

在这个网站上,我们会帮你修复你的代码,但为此,你需要有一些代码。



我们不做你的HomeWork。

HomeWork不会测试你乞求别人做你的工作的技能,它会让你思考并帮助你的老师检查您对所学课程的理解以及您应用这些课程时遇到的问题。

你的任何失败都会帮助你的老师发现你的弱点并设定补救措施。

你的任何失败都会帮助你了解什么有效,什么无效,被称为'试错'学习。

所以,试一试,重读课程并开始工作。如果您遇到特定问题,请展示您的代码并解释这个问题,我们可能会提供帮助。


No! you solve it, it is your HomeWork.
In this site, we help you to fix your code, but for this, you need to have some code.

We do not do your HomeWork.
HomeWork is not set to test your skills at begging other people to do your work, it is set to make you think and to help your teacher to check your understanding of the courses you have taken and also the problems you have at applying them.
Any failure of you will help your teacher spot your weaknesses and set remedial actions.
Any failure of you will help you to learn what works and what don't, it is called 'trial and error' learning.
So, give it a try, reread your lessons and start working. If you are stuck on a specific problem, show your code and explain this exact problem, we might help.


这篇关于解决这个问题! java中的矩阵问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆