+ 3

Pblic class program { Public static void main .string[ ] args ){ for( x=1 ; x<=100 ; x++ ){ if( x%3=0 && x%4=0)

17th Feb 2018, 12:58 AM
YASH RAJ
YASH RAJ - avatar
3 Answers
+ 22
if condition checks for divisibility by 12 //as lcm (3,4) will be 12 only /*the above code U posted have so many syntax errors*/
17th Feb 2018, 2:52 AM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 7
This is not a question, why is it posted? https://www.sololearn.com/discuss/321242/?ref=app
17th Feb 2018, 1:15 AM
J.G.
J.G. - avatar
+ 3
12 , 24 , 36 , 48 , 60 , 72 , 84
17th Feb 2018, 12:59 AM
YASH RAJ
YASH RAJ - avatar