20 lines
343 B
Java
20 lines
343 B
Java
package p;
|
|
|
|
class Float {
|
|
public static void main() {
|
|
test();
|
|
}
|
|
|
|
static float test() {
|
|
float a = 1.0f;
|
|
float b = a / 3.0f;
|
|
float c = b * 2.0f;
|
|
float d = c + 5.0f;
|
|
float e = d - 0.5f;
|
|
float f = -e;
|
|
float g = f % 2.0f;
|
|
int h = (int)g;
|
|
return h;
|
|
}
|
|
}
|