diff --git a/CPP._FIZZ_BUZZ_APPLICATION.cpp b/CPP._FIZZ_BUZZ_APPLICATION.cpp new file mode 100644 index 0000000..8d2e8e5 --- /dev/null +++ b/CPP._FIZZ_BUZZ_APPLICATION.cpp @@ -0,0 +1,29 @@ +#include +#include +using namespace std; +int main() +{ + for(int i = 1; i<= 100; i++) + { + bool myBool = false; + if(i %3 == 0) + { + cout<<"Fizz"; + myBool = true; + } + if(i % 5 == 0) + { + cout<<"Buzz"; + myBool = true; + } + if(!myBool) + { + cout<