I have no idea why this program hangs when i type a positive integer greater than 1
The idea of the code is to add all the numbers from 1 to the number the user has inputted except when num mod 3 == 0, num < 10 && num mod 2 == 0;
HELP!!!!
code:
#include <iostream>
using namespace std;
int...