Okay so when I run this thing, it allows me to give input all the way up until it asks for Month_X. It just terminates the whole function/program. WHY IS THIS DOING THAT? I'm probably missing something so minute. Anyway, is the setup for my program okay? I'm doing a program in which calculates the amount of days from ...well just read the program.Code://Write a program that calculates the amount of days //from day "X" to day "Y" #include <iostream> using namespace std; int Day_X; //first day to be compared to int Day_Y; //second day for the amount of days in between int Month_X; int Month_Y; char January[31]; char February[28]; char March[31]; char April[30]; char May[31]; char June[30]; char July[31]; char August[31]; char September[30]; char October[31]; char November[30]; char December[31]; int main() { cout << "DAY CALCULATING PROGRAM" << endl; cin.get(); cout << "Please give the Month of the starting day" << endl; cin >> Month_X; cin.get(); cout << "Please give the Day of the month" << endl; cin.get(); cin >> Day_X; cout << "Please give the Month of the ending day" << endl; cin >> Month_Y; cout << "Please give the Day of the month" << endl; cin >> Day_Y; cout << "The amount of days between " << endl; cout << Day_X << Month_X << endl; cout << "AND" << endl; cout << Day_Y << Month_Y << endl; cin.get(); //perhaps implement a "Yes, No" option return 1; //later make it return a value }