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

in #java8 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.09
TRX 0.32
JST 0.033
BTC 108187.90
ETH 3823.28
USDT 1.00
SBD 0.61