Hey guys, I just enrolled in a C++ class mid-semester and know absolutely nothing. My teacher said I can catch up with the others in my class, but it requires extensive research and studying. It would be awesome if you guys could help me and explain some of the stuff in the code. I know how to initiate the algorithm, but I have no clue how to use vectors and conditions.
The algorithm should read a sequence of positive numbers until a number divisible by three is reached.
1 2 3 4 5 6 7 8 9
#include <iostream>
usingnamespace std;
int main ()
{
//I hope it's right this far. I have no clue how to use conditions and vectors. Please help!
}