error in calling function in if condition : i have a very basic question in C++. I m calling the login() function in if condition and its giving me the error at time of compilation.
         #include<iostream>
         #include<iomanip>
         #include<string>
         using namespace std;
         
         void login(); 

         int main()
         {
          
          string login;
          int passcode;
          
          cout << "login ";
          cin >> login;
          
          cout << "passcode ";
          cin >> passcode;
                
          
          if(login == "admin" && passcode == 123)
          {
	           login();
           }
           
           else 
           {
	          cout << "It's not the Correct Passcode ";
           }
            
           return 0;
           system("pause");
           } // main()

           void login()
           {
           	cout << "You've successfully Logged into the Software ";
           	return ;
           }
