Connect to GitHub to push and pull your project files to a repository.
On the page that opens, create a token with repo scope, copy it, then paste it below.
Paste the personal access token you created on GitHub with repo scope.
Click Refresh to load commit history
Exercise Info
Goals
Declare methods in C++
Work with loops in C++
Use conditionals in C++
Use basic print statements in C++
Instructions
Create a method printDivisibleBy6() which takes one argument, and which prints the numbers from 6 up to and including the specified argument that are divisible by 6. Please put a space in between each number. As a hint, logical AND is also && in C++, just as it is in Java. So for a number to be divisible by 6, you should use this to check that the number has a remainder of 0 when divided by 2, and also by 3.