import java.util.Scanner;
public interface c201_02_05_判断整数符号 {
public static void main(String[] args) {
思路:
(1)提示输入
(2)接收输入
(3)如果大于0则为正数,如果小于0则为负数,否则为0
System.out.println("请输入一个整数");
Scanner scanner=new Scanner(System.in);
int num=scanner.nextInt();
/*if(num>0){
System.out.println("正数");
}else {
if (num