Hello. I am very new at C++ doing this for college. tried myself many times but cant figure it out here's the question: Write a C++ program such that its execution will keep asking the user to enter a pair of integers, start and finish, and will terminate when either start>finish, or EOF or an invalid input has been encountered. Every time a new pair of integers start and finish are read, the program will first calculate the subtotal start2 + (start+1)2 + (start+2)2 + ... + (finish-1)2 + finish2 (note: at above line...all the 2 after start & finish are actually square, not number) and then add the subtotal to the total. Before the program terminates, it should display the accumulated total and the average of all the subtotals. Also draw the IPO diagram for this problem, and write your solution algorithm in pseudo code. Code (markup): I tried the following codes #include <iostream> // #include <string> using namespace std; int main() { int start, finish; do { cout << "Enter the START number: "; cin >> start; cout << "Enter the FINISH number: "; cin >> finish; cout << endl << endl; } while (start < finish); system("pause"); return 0; } Code (markup): it just do the first part..(not even completely) it keep asking until start>finish & also end if invalid input...like charecters (coz its int only) but what about EOF ?? also it doest do the subtotal/total/avarege thing.... someone plz help me