mirror of
https://github.com/allankoechke/IEEE_KU-beginning-cpp.git
synced 2026-12-01 01:03:56 +00:00
Workshop 2 User Guide
This workshop introduced you to basics of C++. This includes the operators, conditionals, loops and functions. The file main.cpp contains the source code to what we covered in details with well commented code for you to follow along.
Running the example
- Open the main.cpp file
- Copy the code and paste in the online compiler at Online GDB Here
- Press the play button.
- Happy Coding!
Practice Problems
- Using the knowledge so far, write a function that prints all numbers between 23 and 47 that are even and not divisible by 5.
- Find prime numbers between 0 and 100 ( TIP: make use of % operator)
Remember
Practise makes perfect, try many times to solidify your knowlwdge. Even the masters were once students.