c# c'sharp, fizz buzz?

rachael

New member
On Visual Studio using c# i have created fizz buzz,

When I click the button it comes up 3fizz 5buzz 15fizzbuzz

i want it to just say fizz and just say buzz instead of having the number next to it,

Does anyone know the code for it,

if (remainderBy5 == 0)
{
MessageBox.Show("buzz");
 
Back
Top