ok, I cant seem to make the last part work. If the order is not ascending or descending it needs to be "No order at all" why is this not working? Please dont give answers just direct me to what I am doing wrong. I have a feeling its in my else if statement. thanks
Bryan
Code:#include <iostream> #include <cmath> using namespace std; int main() { float A; float B; float C; float D; float E; cout << "Enter 1st Interger then press enter:" << endl; cin >> A; cout << "Enter 2nd Interger then press enter:" << endl; cin >> B; cout << "Enter 3rd Interger then press enter:" << endl; cin >> C; cout << "Enter 4th Interger then press enter:" << endl; cin >> D; cout << "Enter 5th Interger then press enter:" << endl; cin >> E; if (A < E) cout << "Ascending Order" << endl; { if (A > E) cout << "Descending Order" << endl; } else if cout << "Not in any order at all" << endl; return 0; }