摘要:
``` package exception; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); Fraction a = new Fraction(in.nextInt(), in.nextInt()) 阅读全文
posted @ 2020-05-11 22:10
半羽
阅读(67)
评论(0)
推荐(0)
摘要:
``` package exception; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); Fraction a = new Fraction(in.nextInt(), in.nextInt()) 阅读全文
posted @ 2020-05-11 22:08
半羽
阅读(117)
评论(0)
推荐(0)
摘要:
``` double toDouble() { return (double) num1 / num2; } ``` ``` double toDouble() { return num1 * 1.0 / num2; } ``` 阅读全文
posted @ 2020-05-11 22:07
半羽
阅读(526)
评论(0)
推荐(0)
摘要:
用C语言定义不定长数组 C语言求数组长度 阅读全文
posted @ 2020-05-11 13:15
半羽
阅读(4058)
评论(0)
推荐(0)
摘要:
将数组传入函数 在一行内用空格分隔键入数据 阅读全文
posted @ 2020-05-11 09:17
半羽
阅读(474)
评论(0)
推荐(0)

浙公网安备 33010602011771号