Posts by Rafael • 23 points
1 post
-
2
votes1
answer103
viewsQ: How to apply "If" & "Else" functions to Biginteger?
I have this code in Long functioning normally: public static void main(String args[]){ List<Long> lista = new ArrayList(); for(long a = 1; a <= 100; a++){ if(a%2==0) {} else if (a%3==0){}…