MOOC零基础学习Java 信号报告
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了MOOC零基础学习Java 信号报告相关的知识,希望对你有一定的参考价值。
import java.util.Scanner;
public class report {
public static void main(String[] args) {
String[] s={"Faint signals, barely perceptible",
"Very weak signals",
"Weak signals",
"Fair signals",
"Fairly good signals",
"Good signals",
"Moderately strong signals",
"Strong signals",
"Extremely strong signals"};
String[] r={"unreadable",
"barely readable, occasional words distinguishable",
"readable with considerable difficulty",
"readable with practically no difficulty",
"perfectly readable"};
String rs="";
int i;
Scanner in =new Scanner(System.in);
i=in.nextInt();
rs=s[i%10-1]+", "+r[i/10-1]+".";
System.out.println(rs);
}
}
以上是关于MOOC零基础学习Java 信号报告的主要内容,如果未能解决你的问题,请参考以下文章