Variable not acting as expected?I think I have the program flowing correctly now, but the loop is not working as i'd hoped: expecta...
Variable not acting as expected?I was attempting to follow https://www.programiz.com/cpp-programming/user-defined-function-types#yes...
Variable not acting as expected?Getting somewhere (I think!) [code] #include <iostream> using namespace std; void Divisibility(int...
Variable not acting as expected?This code now works as I expect it to. It can probably be optimised further but I t hink its a good...
Variable not acting as expected?oh, the return 2; I thought that would break me out of the if "loop" but looks like that was a red ...