# The fiz buzz test

**URL:** <https://forum.kirupa.com/t/the-fiz-buzz-test/233214>\
**Category:** Uncategorized\
**Created:** [July 21, 2007, 6:13am UTC](https://forum.kirupa.com/t/the-fiz-buzz-test/233214 "2007-07-21T06:13:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![koolkrasher](https://avatars.discourse-cdn.com/v4/letter/k/c6cbf5/32.png) [@koolkrasher](https://forum.kirupa.com/u/koolkrasher)\
**Post date:** [July 21, 2007, 6:13am UTC](https://forum.kirupa.com/t/the-fiz-buzz-test/233214/1 "2007-07-21T06:13:41Z")

</div>

how would i go about dooing this.  
step 1 generate asequance of numbers from 1-100  
step 2 detect numbers that are divisable by 3 and replace that int with fizz  
step 3 detech numbers that are divisable by 5 and replace interger with buzz  
step 4 detect numbers that are divisable by 3 and 5 and replace interger with fiz buzz

any ideas?
