int i=sc.nextInt();和float i=sc.nextFloat的区别

2025-04-08 21:11:58
推荐回答(1个)
回答1:

一个是int(整数)类型,一个是float(浮点数--小数)类型.....