can any tell me the how to write the java code for below requirement
requirement: print numbers from 1 to 100 and
in the out put print , if (number %3==0) print "fizz" and if (number %5==0) print "buzz" and if (number %3*5==0) print "fizzbuzz" .
the out put is like below:
........i want out put like this can any one tell me how to write the code for above requirement