![](https://i-blog.csdnimg.cn/blog_migrate/40823b588047371ca567b3e003521e62.png)
输入样例:
70
16
输出样例:
86
54
1120
4.375
代码如下:
import java.util.*;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int m = sc.nextInt();
System.out.println(n + m);
System.out.println(n - m);
System.out.println(n * m);
System.out.println(n*1.0 / m);
}
}