You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Fixed the program so the user can specify a range of numbers to start and end at
- Updated FizzBuzzLogic Method so that the it no iterates through the range given, store the result of each in a string before returning the string and outputting it to the console
FizzBuzz.FizzBuzzLogic(userNum);// Execute the FizzBuzzLogic method of the FizzBuzz class passing in the value of userNum
67
-
break;// As we have successfully validated the user input and run the FizzBuzz logic, we can break the loop and end the application
83
+
// Execute the FizzBuzzLogic method of the FizzBuzz class passing in both startNum and endNum as converted integers, store the returned string in sequence
Console.WriteLine(sequence);// Output the value of sequence to the console
87
+
break;// As we have successfully validated the user input and run the FizzBuzz logic, and displayed the result, we can break the loop and end the application
0 commit comments