whats wrong with this code ? when i run it ,it gives me the smallest amount not the largest one
#include<iostream>
#include<conio.h>
using namespace std;
int main(){
int num1,num2;
cout<<"enter two number";
cin>>num1,num2;
if(num1>num2){cout<<"the highest value is :"<<num1;}
else if (num2>num1) { cout<<"the highest value is:"<<num2;
}
getch();