im trying to learn c++, so i stumble upon this programming exercise that asks the user to make a program that asks for 2 numbers, assuming that the second number is always the biggest in value, and adds all of the numbers in between the numbers entered including the entered numbers.
i figured that using a for function would be nice but im stuck as to what to make the for function do. here is the current code:
using namespace std;
cout << "Enter the first number:";
cin >> no1;
cout << "Enter the second number:";
cin >> no2;
for (int count = 0; count != no2; count++)