Java 考试中,急求问题答案!!!超高分!!!
ProblemJ1:WhichAlien?ProblemDescriptionCanadaCosmosControlhasreceivedareportofanother...
Problem J1: Which Alien?
Problem Description
Canada Cosmos Control has received a report of another incident. They believe that an alien has illegally entered our space. A person who witnessed the appearance of the alien species that we are aware of, described below:
*TroyMartian, who has at least 3 antenna and at most 4 eyes;
*VladSaturnian, who has at most 6 antenna and at least 2 eyes;
*GraemeMercurian, who has at most 2 antenna and at most 3 eyes.
照这个来写
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package javaapplication1;
/**
*
* @author student
*/
public class Main {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
// TODO code application logic here
}
} 展开
Problem Description
Canada Cosmos Control has received a report of another incident. They believe that an alien has illegally entered our space. A person who witnessed the appearance of the alien species that we are aware of, described below:
*TroyMartian, who has at least 3 antenna and at most 4 eyes;
*VladSaturnian, who has at most 6 antenna and at least 2 eyes;
*GraemeMercurian, who has at most 2 antenna and at most 3 eyes.
照这个来写
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package javaapplication1;
/**
*
* @author student
*/
public class Main {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
// TODO code application logic here
}
} 展开
2个回答
展开全部
VladSaturnian, 我之所以选这个是从每个句子的"at least "和"at most上判断的,at most后面的数越大越好,at least后面的数按道理应该越小越好
按照思维,某个东西的数量最多有多少,那么描述人应该选择印象中的最大的一个数字,最少有多少,描述人回选择印象中最小的一个数字
who has at most 6 antenna and at least 2 eyes
按照思维,某个东西的数量最多有多少,那么描述人应该选择印象中的最大的一个数字,最少有多少,描述人回选择印象中最小的一个数字
who has at most 6 antenna and at least 2 eyes
追问
其实我基本上不会,能直接给我答案吗?应该是要编一个java程序
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询