I have to solve this and I have many doubts

0

Create a public class named "Codes01" that only contains the main (...) method and that allows loading the code of a product (Ex .: 124), as you can see in the example, the code The product must be numeric, which is why you should verify that the code contains only numbers. C I tried something like that but I try to put input but elipse does not take it and I do not find it back to solve the problem.

package ejercicio4;

import java.util.Scanner;
public class codijo01 {

    public codijo01() {
        // TODO Auto-generated constructor stub
    }

    public static void main(String[] args) {
        // TODO Auto-generated method stub
        Scanner codigo = new Scanner(System.in);
        int a;
        a= 10;

        System.out.println();
        a=codigo.nextInt();
        for(a = 10; a <= 10; a++)
         {System.out.println(a+"x"+"="+ a*a);

                System.out.println();
    }
}
    
asked by mariano 13.06.2018 в 05:53
source

0 answers