Mr.Ahmad
عضو هيئة تدريس
#include <iostream> #include <conio.h> int main () { int x,y,z; int max; cout << "Please Enter First number "; cin >> x; cout << "Please Enter Second number "; cin >> y; cout << "Please Enter Third number "; cin >> z; max= x; if (y > max) max = y; if (z > max) max = z; cout << "The Maximum number is " << max << "\n"; getch() return 0; }