WSQ04, the most challenging task so far (just kidding, they are all pretty easy. Even more if you have a friend’s help). Anyway, I’ll upload the video later, so you can see the whole process.
using namespace std;
int n1, n2, dif, sum, sum2, count=0, cicle;
cout<<“Give me two numbers and I’ll calculate the sum of the integer in that range.”<<endl;
cout<<“Please introduce the first number (the lower bound):”<<endl;
cout<<“Please introduce the second number (the upper bound):”<<endl;
cout<<“The sum of the integers in that range is “<<sum<<“.”<<endl;
Here’s the code working: