Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import fundamentos.*;
- /**
- * Write a description of class Problemaej3 here.
- *
- * @author (your name)
- * @version (a version number or a date)
- */
- public class Problemaej3
- {
- public static double[][] leerMatriz(){
- double [][] mat=new double[3][4];
- CajaTexto caja= new CajaTexto("Matriz",10,20);
- caja.espera();
- for(int i=0;i<mat.length;i++){
- for(int j=0;j<mat[0].length;j++){
- mat[i][j]=caja.leeDouble(j);
- }
- caja.avanzaLinea();
- }
- return mat;
- }
- }
Add Comment
Please, Sign In to add comment