C++
👉 Only choose the option which best aligns with how you learn! You don’t need to do all of them!
Complete and submit any one of the following:
-
A screenshot (upload it to Imgur.com to get a URL) of your progress through the end of “References and Pointers” on https://www.codecademy.com/courses/learn-c-plus-plus/lessons/cpp-hello-world/exercises/introduction
- May require a Pro subscription. Codecademy has a free 7 day trial. If you need a burner credit card to trial with, please let us know.
- Complete the entirety of the “Learn the Basics” series here: https://www.learn-cpp.org/
Once you understand the basics, create a new Python project in Repl.it: https://replit.com/new/cpp
Create a program which does the following, and then save and submit the URL of your Repl.it project: - For each number from 1-100, the program prints the number - If the number is evenly divisible by 3, the program also prints “fizz” - If the number is evenly divisible by 5, the program also prints “buzz” - If it’s evenly divisible by both, it prints “fizzbuzz” - The program should use a method to determine what to print.
- Follow along with this C++ tutorial video: https://www.youtube.com/watch?v=1v_4dL8l8pQ
Once you understand the basics, create a new C++ project in Repl.it: https://replit.com/new/cpp
Create a program which does the following, and then save and submit the URL of your Repl.it project: - For each number from 1-100, the program prints the number - If the number is evenly divisible by 3, the program also prints “fizz” - If the number is evenly divisible by 5, the program also prints “buzz” - If it’s evenly divisible by both, it prints “fizzbuzz” - The program should use a method to determine what to print.
🎓 What if I already know C++?
Please pick assignments for aspects of your tech stack which you don’t already know.
If you can demonstrate that you already know all aspects of your tech stack, please contact us on Slack.
âť“ What if I need help with C++?
You can ask in #ask-for-help or schedule a CSE session.
âś… Where do I submit?
After completing this assignment, submit a link to your Github/Repl.it/Codepen using the form on your participant dashboard by logging in at https://labs.codeday.org/dash