标签:
1 import java.util.Scanner; 2 3 public class Solution 4 { 5 public static void main(String[] args) 6 { 7 Scanner input = new Scanner(System.in); 8 9 System.out.print("Enter v and a: "); 10 double v = input.nextDouble(); 11 double a = input.nextDouble(); 12 13 input.close(); 14 15 double length = v * v / (2 * a); 16 System.out.println("The minimum runway length for this airplane is " + length); 17 } 18 }
标签:
原文地址:http://www.cnblogs.com/wood-python/p/5750905.html