I have been trying to figure this one out for at least a day and a half of brainstorming, and am stumped. I am trying to create a program that will add start, end and all numbers in between
ex. the user imputs 3 and 6, the program does this 3+4+5+6=18.
I have the beginning code completed but am trying to find a small string of code that will do the addition for me,
that's what i have so farCode:#include <iostream.h> int main() { int start,end; cout<<"Please Insert Start Number" <<endl; cin>>start; cout<<"Your Start Number Is Now "<<start <<endl; cout<<"Please Insert End Number" <<endl; cin>>end; cout<<"Your End Number Is Now "<<end <<endl; return 0; }