标签:
1 public class Solution 2 { 3 public static void main(String[] args) 4 { 5 System.out.printf("%s\t%s\n", "Number", "Sqrt"); 6 7 for(int i = 0; i <= 20; i++) 8 System.out.printf("%d\t%f\n", i, Math.sqrt(i)); 9 } 10 }
标签:
原文地址:http://www.cnblogs.com/wood-python/p/5792433.html