Hello, I am taking an intro to c++ class and they gave us a bunch of code in Python to convert to C++. Can anyone help me figure it out? Thanks in advance!
Here is the Python code that needs to be converted to c++
You can replace the print statement with std::cout << "Whatever" << std::endl;, remembering to #include <iostream>. I think you can figure out the rest.