Advertisement
Guest User

Untitled

a guest
Jan 30th, 2015
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. public class Double
  2. {
  3. public static void main(String[] args)
  4. {
  5. double[][] matrix = { { 10.25, 9.50, 8.28, 9.25, 8.30 },
  6. { 23.32, 34.45, 2.30, 6.59, 27.89 },
  7. { 2.50, 2.00, 1.00, 0.00, 0.00 },
  8. { 70.00, 7.00, 5.00, 8.00, 10.00 },
  9. { 4.20, 6.43, 42.00, 10.43, 5.00 },
  10. { 23.59, 7.25, 6.57, 4.50, 30.67 },
  11. { 5.60, 5.60, 5.60, 4.60, 9.60 },
  12. { 6.20, 6.50, 8.00, 9.20, 10.40 },
  13. { 3.54, 9.21, 10.90, 8.42, 5.22 },
  14. { 10.50, 10.50, 15.25, 10.0, 10.50 },
  15. { 4.50, 10.50, 42.64, 7.29, 4.50 },
  16. { 0.00, 1.99, 1.99, 0.00, 70.00 },
  17. { 13.94, 9.98, 0.30, 6.02, 6.62 } };
  18. for (int i = 0; i < matrix.length; i++)
  19. {
  20. System.out.println(matrix[i]);
  21. }
  22. }
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement