1.

Create an algorithm and flowchart using IF-THEN-ELSE statement to find the maximum number from the two numbers that user enters

Answer» CODE in C++Explanation:#include USING namespace std; int main() {    int a, b;    CIN >> a >> b;    if (a > b) {        COUT << a;    } ELSE if (a < b) {        cout << b;    }      else {        cout << a;      }          return 0; }


Discussion

No Comment Found