摘要:
数组:import java.io.*;class Testdog { public static void main(String[] args) throws Exception { Dog dogs[] = new Dog[4]; float sumWeight=0; //给狗赋值 //从控制台输入各个狗的信息 InputStreamReader isr = new InputStreamReader(System.in); BufferedReader br = new BufferedRe... 阅读全文