Search
 
SCRIPT & CODE EXAMPLE
 

JAVA

mostrar divisores java

public class Divisor {

public static void main(String[] args) {
    int numero = 18; 
  
    for(int i = 1 ; i <=numero ; i++){
        if(numero%i==0){
            System.out.println(i);
        }
    }
}
}
Comment

PREVIOUS NEXT
Code Example
Java :: find center of screen graphic g 
Java :: Java Using Looping Construct to Copy Arrays 
Java :: while (rem != 0); java 
Java :: how to create an indefilite loop in java 
Java :: java interview question answer 
Java :: maximum valid parentheses 
Java :: site:stackoverflow.com List is abstract; cannot be instantiated public List<Integer result = new List<(); 
Java :: Java pollfirst() and pollLast() Methods 
Java :: java get the closest pair to a given sum in two arrays 
Java :: difference between set and list in java 
Java :: intent from notification with extra to activity 
Java :: spinner get items 
Java :: format code netbean 
Java :: using automapper without dependency injection 
Java :: java jdk invalidate intellij 
Java :: c# param.ExStyle equivalent in java 
Java :: centrar valores en celda jtable java netbeans 
Java :: android code get arrayList index 
Java :: What is the name of the Android function that is used to update the UI (user interface) from a background thread? 
Java :: convert boolean list to primitive java 
Java :: throws multiple exception 
Java :: set countdown timer to play audio file android studio 
Java :: x^n+y^n=z^n 
Java :: room ktx dependency 
Java :: TYPE_INT_ARGB 
Java :: get all colors in string spigot 
Java :: how to open a desktop application using java 
Java :: laravel Please update to at least Node v12.14 
Java :: java unused import statement 
Java :: java data table source tymeLeaf 
ADD CONTENT
Topic
Content
Source link
Name
1+5 =