first commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import java.util.Scanner;
|
||||
|
||||
public class Main {
|
||||
public static void main(String[] args){
|
||||
Scanner reader = new Scanner(System.in);
|
||||
float a = reader.nextFloat(), b = reader.nextFloat();
|
||||
if(a==0){
|
||||
if(b!=0) System.out.println("VN");
|
||||
else System.out.println("VSN");
|
||||
}else{
|
||||
System.out.printf("%.2f", -b/a);
|
||||
}
|
||||
reader.close();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user