Program two : What is the out put of this program?

in #java7 years ago

package simleprogram;
public class FactorialNumber{

public static void main(String[] args){
int num=20,i=1;
do{
if(num%i==0){
System.out.format(" %d ", i);
}
i++;
}while(i<=num);
}
}

number-factorial-calculation.jpg

Sort:  

plz output share

I like java programming language .but only computer solve the identical problem

Coin Marketplace

STEEM 0.18
TRX 0.15
JST 0.029
BTC 61475.37
ETH 2485.94
USDT 1.00
SBD 2.61